isErr property

bool isErr

Whether this is a failed result

Implementation

bool get isErr => !isOk;