Skip to content

hasFieldBehavior

hasFieldBehavior(field, behavior): boolean

Defined in: packages/aip/src/fieldbehavior/fieldbehavior.ts:32

Has returns true if the provided field descriptor has the wanted field behavior.

DescField

the field descriptor to check

FieldBehavior

the field behavior to check for

boolean

true if the field descriptor has the wanted field behavior