UNPKG
abolish
Version:
latest (6.8.3)
next (6.6.2)
prev (5.1.2)
6.8.3
6.8.2
6.8.1
6.8.0
6.7.3
6.7.2
6.7.1
6.7.0
6.6.2
6.6.1
6.6.0
6.5.3
6.5.2
6.5.1
6.5.0
6.4.0
6.3.2
6.3.1
6.3.0
6.2.1
6.2.0
6.1.4
6.1.3
6.1.2
6.1.1
6.1.0
6.0.10
6.0.9
6.0.8
6.0.7
6.0.6
6.0.5
6.0.3
6.0.2
6.0.1
6.0.0
5.2.4
5.2.2
5.2.1
5.2.0
5.1.2
5.1.1
5.1.0
5.0.0
4.13.2
4.13.1
4.13.0
4.12.3
4.12.2
4.12.1
4.12.0
4.11.2
4.11.0
4.10.2
4.10.1
4.10.0
4.9.4
4.9.3
4.9.2
4.9.1
4.9.0
4.8.22
4.8.21
4.8.20
4.8.19
4.8.18
4.8.17
4.8.16
4.8.15
4.8.14
4.8.13
4.8.12
4.8.11
4.8.10
4.8.9
4.8.8
4.8.7
4.8.6
4.8.5
4.8.4
4.8.3
4.8.2
4.8.1
4.8.0
4.7.4
4.7.3
4.7.2
4.7.1
4.7.0
4.6.2
4.6.1
4.6.0
4.5.6
4.5.5
4.5.4
4.5.3
4.5.2
4.5.0
4.4.0
4.3.2
4.3.1
4.3.0
4.2.1
4.2.0
4.1.0
4.0.0
3.3.0
3.2.1
3.2.0
3.1.3
3.1.2
3.1.0
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.2.0
2.1.0
2.0.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.22
0.0.21
0.0.20
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
A javascript object validator.
abolish.trapcode.io
trapcodeio/abolish
abolish
/
validators
/
number
/
gt.js
9 lines
(8 loc)
•
197 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
"use strict"
;
module
.
exports
= {
name
:
"gt"
,
error
:
":param must be greater than :option"
,
validator
:
(
param, option, { modifier }
) =>
{
return
Number
(param) > option; } };