Skip to main content

Variable: IsObjectValidatorDefinition

validation/src.IsObjectValidatorDefinition

const IsObjectValidatorDefinition: object

Type declaration

decorator

decorator: (validationOptions) => PropertyDecorator = IsObjectLocalized

Parameters

validationOptions: ValidationOptions= {}

Returns

PropertyDecorator

defaultValidationMessage

defaultValidationMessage: string = MESSAGE

name

name: string = IS_OBJECT

validator

validator: <T>(value) => value is T = isObject

Checks if the value is valid Object. Returns false if the value is not an object.

Type parameters

T = object

Parameters

value: unknown

Returns

value is T

Source

libs/validation/src/lib/validators/primitives/is-object.validator.ts:18


Generated using typedoc-plugin-markdown and TypeDoc