Skip to main content
IsInstance(targetType, validationOptions?): PropertyDecorator
Defined in: node_modules/.pnpm/class-validator@0.14.4/node_modules/class-validator/types/decorator/object/IsInstance.d.ts:10 Checks if the value is an instance of the specified object.

Parameters

targetType

new (…args) => any

validationOptions?

ValidationOptions

Returns

PropertyDecorator