isError

open fun isError(): Boolean

Returns if the expected contains an error.

Return

if this contains an error