Skip to content

v1.0.2

Compare
Choose a tag to compare
@jrTilak jrTilak released this 28 Apr 01:55
· 93 commits to dev since this release
5d73937

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.