compose
compose :: [ Function ] → a → Boolean
It's the very backbone of Deep Waters, it takes a list of validators (functions that accept a value and return a boolean) and returns a new function that takes a value and evaluates whether is valid for all the validators in .
isEmail.js
Please note, compose removes all the duplicate validators
Related validators
whenornotLast updated