Skip to content

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.

DescField

the field descriptor to check

FieldBehavior[]

the field behaviors to check for

boolean

true if the field descriptor has any of the wanted field behaviors