document ability to specify an array of names
This commit is contained in:
parent
39c45bc2b2
commit
ad113b3888
1 changed files with 1 additions and 1 deletions
|
|
@ -1569,7 +1569,7 @@ export const func = curry((a, b) => reify(b).func(a));
|
|||
/**
|
||||
* Registers a new pattern method. The method is added to the Pattern class + the standalone function is returned from register.
|
||||
*
|
||||
* @param {string} name name of the function
|
||||
* @param {string | string[]} name name of the function, or an array of names to be used as synonyms
|
||||
* @param {function} func function with 1 or more params, where last is the current pattern
|
||||
* @noAutocomplete
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue