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