The module that does validation of behavior configuration
- Source:
Methods
validate(behaviors, validationSpec) → {Object}
Validates the behavior configuration and returns all errors
Parameters:
Name | Type | Description |
---|---|---|
behaviors |
Object | The behaviors list |
validationSpec |
Object | the specification to validate against |
- Source:
Returns:
The array of errors
- Type
- Object
(inner) create() → {Object}
Creates the validator
- Source:
Returns:
- Type
- Object