Create a new Identity object.
Any value to wrap with Identity.
The set of static functions which can be applied with Maybe
Wrap a value with Maybe.
If the value is undefined or null, it will return "Nothing". Otherwise, it will return a "Just" containing the value.
A common alias for of
Similar to map, but apply a function wrapped in Maybe.
If either the function Maybe or this Maybe is "Nothing", then this will return "Nothing". Otherwise, the function will be applied to the value and return a Maybe.
Monadic binding. Apply a function which returns a Maybe without adding structure.
Returns "Nothing" when the Maybe is "Nothing, or when the function applied to the value returns "Nothing". Otherwise, returns "Just" the result of the function: a Maybe of the value.
Apply a function to the value contained in Maybe
If Maybe is "Nothing" then it will always return "Nothing". If Maybe is "Just" some value, the function will be applied to that value and returned as a Maybe.
A unary function
Generated using TypeDoc
The set of static functions which can be applied with Identity
Identity