tjwebb / congruence

Validate the structure of Javascript objects using semantic templates. Written as a lodash mixin.
https://npmjs.org/package/congruence
8 stars 1 forks source link

Make it easier to validate nested arrays #3

Closed tjwebb closed 10 years ago

tjwebb commented 10 years ago

Currently arrays basically can only be validated with _.isArray. Validating their elements requires additional programming logic, which diminishes the value of the template.

tjwebb commented 10 years ago

Not sure if I'm going to fix this. Re-visit later.