node_modules

This commit is contained in:
saeid
2019-07-15 13:07:31 +04:30
parent d3735c6d30
commit ce1a3ebf9c
35713 changed files with 3639219 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
import { req, withParams } from './common'
export default (max) =>
withParams(
{ type: 'maxValue', max },
(value) =>
!req(value) ||
((!/\s/.test(value) || value instanceof Date) && +value <= +max)
)