has Method

Check if field contains at least one favorite property.

has(field: Field, projectId?: string, imodelId?: string): boolean

Parameter Type Description
field Field Field that contains properties.
projectId string Project Id, to additionally include the project favorite properties, otherwise undefined - only global favorite properties are taken into account.
imodelId string iModel Id, to additionally include the iModel favorite properties, otherwise undefined. The projectId must be specified if iModelId is specified.

Returns - boolean

Defined in

Last Updated: 13 June, 2024