Last active
July 31, 2017 02:55
-
-
Save Emilios1995/a68da44e83da5a4752673c2283f2cfee 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
const validationRules = { | |
notificationsClientId: [ | |
[ | |
dep("getsNotifications", R.equals(true), isType("String")), | |
"If getsNotifications is true, notificationsClientId is required as a string" | |
] | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment