Validator

class

Validator

source
export class Validator
export class Validator
isValidationEnabled(): boolean
isValidationEnabled(): boolean

Returns:

boolean
boolean

setValidationEnabled(enabled?: boolean|null): void
setValidationEnabled(enabled?: boolean|null): void
ParamTypeRequired
enabled
enabled
boolean|null
boolean|null
No

Returns:

void
void

static source

.s

Shapes
Shapes
boolean|null
boolean|null
RegExp
RegExp
_sapphire_shapeshift0.ObjectValidator<{ toJSON: Function; }, _sapphire_shapeshift0.UndefinedToOptional<{ toJSON: Function; }>>
_sapphire_shapeshift0.ObjectValidator<{ toJSON: Function; }, _sapphire_shapeshift0.UndefinedToOptional<{ toJSON: Function; }>>
_sapphire_shapeshift0.ObjectValidator<{ type: ApplicationCommandType; name: string; }, _sapphire_shapeshift0.UndefinedToOptional<{ type: ApplicationCommandType; name: string; }>>
_sapphire_shapeshift0.ObjectValidator<{ type: ApplicationCommandType; name: string; }, _sapphire_shapeshift0.UndefinedToOptional<{ type: ApplicationCommandType; name: string; }>>