Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 234 Bytes

File metadata and controls

12 lines (8 loc) · 234 Bytes

minValue ts react-final-form react-intl

Checks if given number is smaller than given number

Example

const min5 = minValue(5);

min5(6) // undefined
min5(3) // { message: "validators.minValue", params: { 5 } };