isSome method

bool isSome()
inherited

Returns true if the option is a Some value.

Implementation

bool isSome() => this is Some;