Page Contents

Home > @loopback/repository > Type > isInstance

Type.isInstance() method

Test if the given value is an instance of this type

Signature:

isInstance(value: any): boolean;

Parameters

Parameter Type Description
value any The value

Returns:

boolean