hasAnyFieldBehavior
hasAnyFieldBehavior(
field,behaviors):boolean
Defined in: packages/aip/src/fieldbehavior/fieldbehavior.ts:45
HasAnyFieldBehavior returns true if the provided field descriptor has any of the wanted field behaviors.
Parameters
Section titled “Parameters”DescField
the field descriptor to check
behaviors
Section titled “behaviors”FieldBehavior[]
the field behaviors to check for
Returns
Section titled “Returns”boolean
true if the field descriptor has any of the wanted field behaviors