isErr method

Future<bool> isErr()

Returns true if the option is a Err value.

Implementation

Future<bool> isErr() => then((result) => result.isErr());