hasWarning
hasWarning(
warnings,category,field?):boolean
Defined in: warnings.ts:305
Check if warnings array contains a specific warning type.
Parameters
Section titled “Parameters”warnings
Section titled “warnings”Warnings to check
readonly IRWarning[] | undefined
category
Section titled “category”Warning category to look for
field?
Section titled “field?”string
Optional field name to match
Returns
Section titled “Returns”boolean
true if warning exists