custom$

Creates a custom validation function.

const validate = custom$(requirement, error);

Parameters

Return