isFailure

open fun isFailure(): Boolean(source)

Determines whether the current instance represents a failure state.

Return

true if the current instance is of type Failure, otherwise false.