isPolicyFailure
isPolicyFailure(
toCheck):toCheck is PolicyFailure
Defined in: policy.ts:513
Type guard to check if a result is a PolicyFailure (legacy format).
Parameters
Section titled “Parameters”toCheck
Section titled “toCheck”any
Value to inspect.
Returns
Section titled “Returns”toCheck is PolicyFailure
Whether the value is a non-null object with an errorMessages array.