isOk property

bool get isOk

Returns true when this result contains a value.

Implementation

bool get isOk => this is Ok<T, E>;