Open Undistraction opened 6 years ago
Handle constraint validation where the object being validated is an Array by adding validateArrayWithConstraints(constraints, object).
validateArrayWithConstraints(constraints, object)
This function would effectively do:
validateIsArrayOf(validateObjectWithConstraints, o)
With the constraints object validating each item in the array.
Handle constraint validation where the object being validated is an Array by adding
validateArrayWithConstraints(constraints, object)
.This function would effectively do:
With the constraints object validating each item in the array.