isErr property

bool get isErr

Implementation

bool get isErr => error != null;