isErr property

bool isErr

Returns true if the result is Err.

Implementation

bool get isErr => !isOk;