hasValue property

bool hasValue

Returns true if ErrorOr is a _ValueWrapper.

Implementation

bool get hasValue => this is _ValueWrapper<T>;