value
Creates a validation function that checks the value of an input for equality.
const validate = value(requirement, error);
Parameters
requirementstring | numbererrorstring
Return
validateQRL<(value:>MaybeValue<) =>string | number>string