LiterallyDoge
Joined 8 years ago
Karma
109
Submissions
101
Member since
Jul 17
Joined 8 years ago
new Validator = ({ age: 'int 22-48' });
If memory serves you can parse that type of string in the Validator constructor and insert the Rule structures you already have in place of it.