Closed jrTilak closed 4 months ago
callAfter : Returns a new function that can be called only after calling a specific number of times.
callBefore : Returns a new function that can be called only for specific number of times.
nTimes : Calls a function n times and returns an array of the results.
once : Returns a new function that can be called only once.
omit : Returns a new object with the specified keys omitted.
pick : Picks the specified keys from an object.
renameKey : Renames a key in an object.
sampleObj : Returns a sample object with the specified keys and values as random numbers.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
More methods
Funtional
callAfter : Returns a new function that can be called only after calling a specific number of times.
callBefore : Returns a new function that can be called only for specific number of times.
nTimes : Calls a function n times and returns an array of the results.
once : Returns a new function that can be called only once.
Objects
omit : Returns a new object with the specified keys omitted.
pick : Picks the specified keys from an object.
renameKey : Renames a key in an object.
sampleObj : Returns a sample object with the specified keys and values as random numbers.