Home > @i2analyze/i2connect > records > ITypedSeedRecord > hasProperty
records.ITypedSeedRecord.hasProperty() method
Indicates whether the seed record has a property with the specified display name.
Signature:
hasProperty<TPropertyName extends utility.PropertyTypeDisplayNames<TItemType>>(displayName: TPropertyName): boolean;
Introduced: API version 1.0
Type Parameters
Parameter | Type | Description |
---|---|---|
TPropertyName | extends utility.PropertyTypeDisplayNames<TItemType> | The type of display names of the property type, which is inferred from the 'displayName' parameter. |
Parameters
Parameter | Type | Description |
---|---|---|
displayName | TPropertyName | The display name of the property type. |
Returns:
boolean
true
if the seed record has a displayName
property; false
otherwise.