Skip to content

Commit

Permalink
update docs to represent correctly supported types (#3474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harris-Miller committed Jun 19, 2024
1 parent 980b3bf commit 0be4573
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/ascendNatural.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import curry from './curry.js';
* @memberOf R
* @since v0.30.1
* @category Function
* @sig Ord b => s -> (a -> b) -> a -> a -> Number
* @sig s -> (a -> String) -> a -> a -> Number
* @param {String|Array} locales A string with a BCP 47 language tag, or an array of such strings. Corresponds to the locales parameter of the Intl.Collator() constructor.
* @param {Function} fn A function of arity one that returns a value that can be compared
* @param {Function} fn A function of arity one that returns a string that can be compared
* @param {*} a The first item to be compared.
* @param {*} b The second item to be compared.
* @return {Number} `-1` if a occurs before b, `1` if a occurs after b, otherwise `0`
Expand Down
4 changes: 2 additions & 2 deletions source/descendNatural.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import curry from './curry.js';
* @memberOf R
* @since v0.30.1
* @category Function
* @sig Ord b => s -> (a -> b) -> a -> a -> Number
* @sig s -> (a -> String) -> a -> a -> Number
* @param {String|Array} locales A string with a BCP 47 language tag, or an array of such strings. Corresponds to the locales parameter of the Intl.Collator() constructor.
* @param {Function} fn A function of arity one that returns a value that can be compared
* @param {Function} fn A function of arity one that returns a string that can be compared
* @param {*} a The first item to be compared.
* @param {*} b The second item to be compared.
* @return {Number} `-1` if a occurs after b, `1` if a occurs before b, otherwise `0`
Expand Down

0 comments on commit 0be4573

Please sign in to comment.