Library
Hierarchy
- Library
Implemented by
Index
Properties
Methods
- debug
- getConverter
- getDescriber
- getValidator
- isInstanceOf
- isValid
- setConverter
- setDescriber
- setValidator
- validate
Properties
converter
• converter: Converter
describer
• describer: Describer
validator
• validator: Validator
Methods
debug
▸ debug(isDebugging?
: boolean): void
Parameters:
Name | Type |
---|---|
isDebugging? | boolean |
Returns: void
▸ debug(isDebugging?
: boolean): void
Parameters:
Name | Type |
---|---|
isDebugging? | boolean |
Returns: void
getConverter
▸ getConverter(): Converter
Returns: Converter
▸ getConverter(): Converter
Returns: Converter
getDescriber
▸ getDescriber(): Describer
Returns: Describer
▸ getDescriber(): Describer
Returns: Describer
getValidator
▸ getValidator(): Validator
Returns: Validator
▸ getValidator(): Validator
Returns: Validator
isInstanceOf
▸ isInstanceOf(value
: any, expectation
: Expectation): boolean
Parameters:
Name | Type |
---|---|
value | any |
expectation | Expectation |
Returns: boolean
▸ isInstanceOf(value
: any, expectation
: Expectation): boolean
Parameters:
Name | Type |
---|---|
value | any |
expectation | Expectation |
Returns: boolean
isValid
▸ isValid(value
: any, expectation
: Expectation | Utility, isStrict?
: boolean): boolean
Parameters:
Name | Type |
---|---|
value | any |
expectation | Expectation | Utility |
isStrict? | boolean |
Returns: boolean
▸ isValid(value
: any, expectation
: Expectation | Utility, isStrict?
: boolean): boolean
Parameters:
Name | Type |
---|---|
value | any |
expectation | Expectation | Utility |
isStrict? | boolean |
Returns: boolean
setConverter
▸ setConverter(converter
: Converter): void
Parameters:
Name | Type |
---|---|
converter | Converter |
Returns: void
▸ setConverter(converter
: Converter): void
Parameters:
Name | Type |
---|---|
converter | Converter |
Returns: void
setDescriber
▸ setDescriber(describer
: Describer): void
Parameters:
Name | Type |
---|---|
describer | Describer |
Returns: void
▸ setDescriber(describer
: Describer): void
Parameters:
Name | Type |
---|---|
describer | Describer |
Returns: void
setValidator
▸ setValidator(validator
: Validator): void
Parameters:
Name | Type |
---|---|
validator | Validator |
Returns: void
▸ setValidator(validator
: Validator): void
Parameters:
Name | Type |
---|---|
validator | Validator |
Returns: void
validate
▸ validate(value
: any, expectation
: Expectation | Utility, isStrict?
: boolean): boolean
Parameters:
Name | Type |
---|---|
value | any |
expectation | Expectation | Utility |
isStrict? | boolean |
Returns: boolean
▸ validate(value
: any, expectation
: Expectation | Utility, isStrict?
: boolean): boolean
Parameters:
Name | Type |
---|---|
value | any |
expectation | Expectation | Utility |
isStrict? | boolean |
Returns: boolean