Whether this result is Err.
const result = Err<int, String>('invalid'); final failed = result.isErr; // true
bool get isErr => !isOk;