isErr property

bool get isErr

Returns 'true' if the type is a failure, otherwise 'false'.

Implementation

bool get isErr => _result.failed;