-
-
Save joepie91/6e80b50b4394d941c2c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Requirements | |
optional | |
required | |
- Types | |
string | |
number | |
boolean | |
date | |
array | |
object | |
function | |
error | |
regexp | |
arguments | |
- Generic formats | |
integer | |
alpha | |
numeric | |
alphaNumeric | |
lowerCase | |
upperCase | |
hex | |
ascii | |
- Specific formats | |
json | |
html | |
phoneNumber | |
creditCard | |
ip | |
hexColor | |
mongoId | |
- Contents | |
empty | |
length | |
unique | |
contains | |
matches | |
startsWith | |
endsWith | |
sorted | |
- Comparisons and numeric | |
equals | |
lessThan | |
lessThanOrEquals | |
greaterThan | |
greaterThanOrEquals | |
divisibleBy | |
precision | |
- Utilities | |
annotate | |
eval | |
try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment