Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > TypeUuid > isInstanceOf

TypeUuid.isInstanceOf() method

Returns true if the targetObject is an instance of a JavaScript class that was previously registered using the specified typeUuid. Base classes are also considered.

Signature:

static isInstanceOf(targetObject: unknown, typeUuid: string): boolean;

Parameters

ParameterTypeDescription
targetObjectunknown
typeUuidstring

Returns:

boolean