Skip to content

Commit

Permalink
Improve jsdoc grammar in unwind.js (#3437)
Browse files Browse the repository at this point in the history
Fixes "should be unwind" and clarifies the rest..
  • Loading branch information
bionicles committed Jan 6, 2024
1 parent e02ae04 commit fd55a1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/unwind.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import _assoc from './internal/_assoc.js';
* @since v0.28.0
* @category Object
* @sig String -> {k: [v]} -> [{k: v}]
* @param {String} key The key to determine which property of the object should be unwind
* @param {Object} object The object containing list under property named as key which is to unwind
* @return {List} A new list of object containing the value of input key having list replaced by each element in the object.
* @param {String} key The key to determine which property of the object should be unwound.
* @param {Object} object The object containing the list to unwind at the property named by the key.
* @return {List} A list of new objects, each having the given key associated to an item from the unwound list.
* @example
*
* R.unwind('hobbies', {
Expand Down

0 comments on commit fd55a1a

Please sign in to comment.