toResultOkFromMaybeReturn Err<void> if input is null or undefined. Otherwise, return Ok<T> directly. function toResultOkFromMaybe<T>(input: Maybe<T>): Result<T, void>;§toResultOkFromMaybe<T>(input: Maybe<T>): Result<T, void>[src]§Type Parameters§T[src]§Parameters§input: Maybe<T>[src]§Return Type§Result<T, void>[src]