0.0.1 • Published 5 years ago
alkaid v0.0.1
alkaid
A functional typescript utils lib
utils list
| Name | Introduction | Remark |
|---|---|---|
| curry | Curry the objective function and return it. | -- |
| fake-function | Factory function, used to create a function that does nothing but returns the specified value. | -- |
| for-each | Traverse a list | -- |
| has | Determine whether an object has specified attributes. | Do not check the prototype chain. |
| is-object | Determine whether the target variable is an object. | -- |
| noop | An empty function. | -- |
| pipe | Execute the parameter functions in order, the return value of the previous function is the parameter of the latter function. | -- |
| reduce | Evaluate an array in order | -- |
0.0.1
5 years ago