Function validateEntryOrArray
- validate
Entry (data, accessor, entry?, dataName?): anyOr Array Parameters
- data: object
The data object to test.
- accessor: string
A string describing the entries to access.
Optional
entry: ValidationEntryA validation entry.
Optional
dataName: stringOptional name of data.
Returns any
True if validation passes otherwise an exception is thrown.
- data: object
Dispatches validation of data entry to string or array validation depending on data entry type.