toResultOkFromNullableReturn Err<void> if input is null. Otherwise, return Ok<T> directly. function toResultOkFromNullable<T>(input: Nullable<T>): Result<T, void>;§toResultOkFromNullable<T>(input: Nullable<T>): Result<T, void>[src]§Type Parameters§T[src]§Parameters§input: Nullable<T>[src]§Return Type§Result<T, void>[src]