isSome method

Future<bool> isSome()

Returns true if the option is a Some value.

Implementation

Future<bool> isSome() => then((v) => v.isSome());