MessageCommandFlagValidator
class
MessageCommandFlagValidator
sourceexport class MessageCommandFlagValidator extends Validator export class MessageCommandFlagValidator extends Validator static source
.isValidName(...)
isValidName(name: unknown): asserts name is string isValidName(name: unknown): asserts name is string| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
asserts name is string asserts name is string static source
.isValidShortcut(...)
isValidShortcut(shortcut: unknown): asserts shortcut is string isValidShortcut(shortcut: unknown): asserts shortcut is string| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
asserts shortcut is string asserts shortcut is string static source
.isValidDescription(...)
isValidDescription(description: unknown): asserts description is string isValidDescription(description: unknown): asserts description is string| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
asserts description is string asserts description is string static source
.isValidRequired(...)
isValidRequired(required: unknown): asserts required is boolean isValidRequired(required: unknown): asserts required is boolean| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
asserts required is boolean asserts required is boolean static source
.isValidMultiple(...)
isValidMultiple(multiple: unknown): asserts multiple is boolean isValidMultiple(multiple: unknown): asserts multiple is boolean| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
asserts multiple is boolean asserts multiple is boolean static source
.isValidDefaultValues(...)
isValidDefaultValues(defaultValues: unknown): asserts defaultValues is string[]|boolean[] isValidDefaultValues(defaultValues: unknown): asserts defaultValues is string[]|boolean[]| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
asserts defaultValues is string[]|boolean[] asserts defaultValues is string[]|boolean[] static source
.isValidValueType(...)
isValidValueType(valueType: unknown): asserts valueType is string|boolean isValidValueType(valueType: unknown): asserts valueType is string|boolean| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
asserts valueType is string|boolean asserts valueType is string|boolean static source
.isValidValidate(...)
isValidValidate(validate: unknown): asserts validate is Function isValidValidate(validate: unknown): asserts validate is Function| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
asserts validate is Function asserts validate is Function static source
.isValidResolve(...)
isValidResolve(resolve: unknown): asserts resolve is Function isValidResolve(resolve: unknown): asserts resolve is Function| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
asserts resolve is Function asserts resolve is FunctionisValid(value: unknown): asserts value is MessageCommandFlag.Data isValid(value: unknown): asserts value is MessageCommandFlag.Data| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
asserts value is MessageCommandFlag.Data asserts value is MessageCommandFlag.Data_sapphire_shapeshift0.StringValidator<string> _sapphire_shapeshift0.StringValidator<string>_sapphire_shapeshift0.StringValidator<string> _sapphire_shapeshift0.StringValidator<string> static source
.description
_sapphire_shapeshift0.StringValidator<string> _sapphire_shapeshift0.StringValidator<string>_sapphire_shapeshift0.UnionValidator<boolean|undefined> _sapphire_shapeshift0.UnionValidator<boolean|undefined>_sapphire_shapeshift0.UnionValidator<boolean|undefined> _sapphire_shapeshift0.UnionValidator<boolean|undefined> static source
.defaultValues
_sapphire_shapeshift0.UnionValidator<string[]|boolean[]|undefined> _sapphire_shapeshift0.UnionValidator<string[]|boolean[]|undefined>_sapphire_shapeshift0.UnionValidator<string|undefined> _sapphire_shapeshift0.UnionValidator<string|undefined>_sapphire_shapeshift0.UnionValidator<Function|undefined> _sapphire_shapeshift0.UnionValidator<Function|undefined>_sapphire_shapeshift0.UnionValidator<Function|undefined> _sapphire_shapeshift0.UnionValidator<Function|undefined>_sapphire_shapeshift0.ObjectValidator<{ name: string; shortcut: string; description: string; required: boolean|undefined; multiple: boolean|undefined; validate: Function|undefined; resolve: Function|undefined; defaultValues: string[]|boolean[]|undefined; valueType: string|undefined; }, _sapphire_shapeshift0.UndefinedToOptional<{ name: string; shortcut: string; description: string; required: boolean|undefined; multiple: boolean|undefined; validate: Function|undefined; resolve: Function|undefined; defaultValues: string[]|boolean[]|undefined; valueType: string|undefined; }>> _sapphire_shapeshift0.ObjectValidator<{ name: string; shortcut: string; description: string; required: boolean|undefined; multiple: boolean|undefined; validate: Function|undefined; resolve: Function|undefined; defaultValues: string[]|boolean[]|undefined; valueType: string|undefined; }, _sapphire_shapeshift0.UndefinedToOptional<{ name: string; shortcut: string; description: string; required: boolean|undefined; multiple: boolean|undefined; validate: Function|undefined; resolve: Function|undefined; defaultValues: string[]|boolean[]|undefined; valueType: string|undefined; }>> static source
.resolvable
_sapphire_shapeshift0.UnionValidator<_sapphire_shapeshift0.UndefinedToOptional<{ name: string; shortcut: string; description: string; required: boolean|undefined; multiple: boolean|undefined; validate: Function|undefined; resolve: Function|undefined; defaultValues: string[]|boolean[]|undefined; valueType: string|undefined; }>|_sapphire_shapeshift0.UndefinedToOptional<{ toJSON: Function; }>> _sapphire_shapeshift0.UnionValidator<_sapphire_shapeshift0.UndefinedToOptional<{ name: string; shortcut: string; description: string; required: boolean|undefined; multiple: boolean|undefined; validate: Function|undefined; resolve: Function|undefined; defaultValues: string[]|boolean[]|undefined; valueType: string|undefined; }>|_sapphire_shapeshift0.UndefinedToOptional<{ toJSON: Function; }>>