Validator
class
Validator
sourceexport class Validator export class Validator static source
.isValidationEnabled()
isValidationEnabled(): boolean isValidationEnabled(): booleanReturns:
boolean boolean static source
.setValidationEnabled(...)
setValidationEnabled(enabled?: boolean|null): void setValidationEnabled(enabled?: boolean|null): void| Param | Type | Required |
|---|---|---|
| | No |
Returns:
void void static source
._isValidationEnabled
boolean|null boolean|null static source
.jsonEncodable
_sapphire_shapeshift0.ObjectValidator<{ toJSON: Function; }, _sapphire_shapeshift0.UndefinedToOptional<{ toJSON: Function; }>> _sapphire_shapeshift0.ObjectValidator<{ toJSON: Function; }, _sapphire_shapeshift0.UndefinedToOptional<{ toJSON: Function; }>> static source
.baseApplicationCommand
_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; }>>