isPresent property

bool get isPresent

Returns true if this is a Some instance.

Implementation

bool get isPresent => this is Some<T>;