Home > @i2analyze/i2connect > records > ISeededResultEntityRecord > isType
records.ISeededResultEntityRecord.isType() method
Indicates whether the entity record has the specified type.
Signature:
isType<TEntityType extends schema.IEntityType>(entityType: TEntityType): this is ITypedSeededResultRecord<TEntityType>;
Introduced: API version 2.0
Type Parameters
Parameter | Type | Description |
---|---|---|
TEntityType | extends schema.IEntityType | The type of the entity type, which is inferred from the entityType parameter. |
Parameters
Parameter | Type | Description |
---|---|---|
entityType | TEntityType | The entity type to compare the result record against. |
Returns:
this is ITypedSeededResultRecord<TEntityType>
true
if the result record has the specified type; false
otherwise.