Skip to content

isPolicyFailure

isPolicyFailure(toCheck): toCheck is PolicyFailure

Defined in: policy.ts:513

Type guard to check if a result is a PolicyFailure (legacy format).

any

Value to inspect.

toCheck is PolicyFailure

Whether the value is a non-null object with an errorMessages array.