Home > @i2analyze/i2connect > records > ISeedLinkRecord > isType
records.ISeedLinkRecord.isType() method
Indicates whether the link record has the specified type.
Signature:
isType<TLinkType extends schema.ILinkType>(linkType: TLinkType): this is ITypedSeedLinkRecord<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 seed record against. |
Returns:
this is ITypedSeedLinkRecord<TLinkType>
true
if the seed record has the specified type; false
otherwise.