| andThenAsyncForMaybe | Returns null or undefined if the input is null or undefined,
otherwise calls transformer with the value and returns the result.
|
| andThenForMaybe | Returns null or undefined if the input is null or undefined,
otherwise calls transformer with the value and returns the result.
|
| expectNotNullOrUndefined | Return input as T if the passed input is not null and undefined.
Otherwise, throw TypeError with the passed msg.
|
| inspectMaybe |
- Return input directly.
- This value is passed as the input. But it maybe mutated by calling effector.
- Call effector with input if input is not
null and undefined.
|
| isNotNullOrUndefined | |
| isNullOrUndefined | |
| mapAsyncForMaybe | Return the result of transformer with using input as an argument for it if input is not null and undefined.
Otherwise, return null or undefined inputted as input.
|
| mapForMaybe | Return the result of transformer with using input as an argument for it if input is not null and undefined.
Otherwise, return null or undefined inputted as input.
|
| mapOrAsyncForMaybe | Return the result of transformer with using input as an argument for it if input is not null and undefined.
Otherwise, return defaultValue.
|
| mapOrElseAsyncForMaybe | Return the result of transformer with using input as an argument for it if input is not null and undefined.
Otherwise, return the result of recoverer.
|
| mapOrElseForMaybe | Return the result of transformer with using input as an argument for it if input is not null and undefined.
Otherwise, return the result of recoverer.
|
| mapOrForMaybe | Return the result of transformer with using input as an argument for it if input is not null and undefined.
Otherwise, return defaultValue.
|
| okOrElseAsyncForMaybe | Transforms the Maybe<T> into a Result<T, E> by mapping T to Ok(T).
If input is undefined or null, then returns Err(E) with the result of recoverer()
|
| okOrElseForMaybe | Transforms the Maybe<T> into a Result<T, E> by mapping T to Ok(T).
If input is undefined or null, then returns Err(E) with the result of recoverer()
|
| okOrForMaybe | Transforms the Maybe<T> into a Result<T, E> by mapping T to Ok(T).
If input is undefined or null, then return Err(E) with passed err.
|
| orElseAsyncForMaybe | Return input as T if the passed input is not null and undefined.
Otherwise, return the result of recoverer.
|
| orElseForMaybe | Return input as T if the passed input is not null and undefined.
Otherwise, return the result of recoverer.
|
| toNullableFromMaybe | Return null if input is null or undfined.
Otherwise, return T directly.
|
| toResultErrFromMaybe | Return Ok<void> if input is null or undefined.
Otherwise, return Err<E> directly.
|
| toResultOkFromMaybe | Return Err<void> if input is null or undefined.
Otherwise, return Ok<T> directly.
|
| toUndefinableFromMaybe | Return undfined if input is null or undfined.
Otherwise, return T directly.
|
| unwrapMaybe | Return value as T if the passed value is not null and undefined.
Otherwise, throw TypeError.
|
| unwrapOrElseAsyncForMaybe | Return input as T if the passed input is not null and undefined.
Otherwise, return the result of recoverer.
|
| unwrapOrElseForMaybe | Return input as T if the passed input is not null and undefined.
Otherwise, return the result of recoverer.
|
| unwrapOrForMaybe | Return input as T if the passed input is not null and undefined.
Otherwise, return defaultValue.
|