Closed silfverstrom closed 9 years ago
assert, validate and invalid can now be called from root object.
Duns.validate(object, schema) // Returns true or false. Duns.assert(object, schema) // Throws on failed 'validate' Duns.invalid(object, schema) // Returns true if schema is invalid. Opposite of 'validate'.
closes #47
assert, validate and invalid can now be called from root object.
closes #47