0.0.1 • Published 4 years ago

alkaid v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

alkaid

A functional typescript utils lib

utils list

NameIntroductionRemark
curryCurry the objective function and return it.--
fake-functionFactory function, used to create a function that does nothing but returns the specified value.--
for-eachTraverse a list--
hasDetermine whether an object has specified attributes.Do not check the prototype chain.
is-objectDetermine whether the target variable is an object.--
noopAn empty function.--
pipeExecute the parameter functions in order, the return value of the previous function is the parameter of the latter function.--
reduceEvaluate an array in order--