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