isFailed method

bool isFailed(
  1. Object actionOrActionTypeOrList
)

Returns true if an actionOrActionTypeOrList failed with an UserException. Note: This method uses the EXACT type in actionOrActionTypeOrList. Subtypes are not considered.

Implementation

bool isFailed(Object actionOrActionTypeOrList) => exceptionFor(actionOrActionTypeOrList) != null;