1.2.0 • Published 4 years ago
sy-fi-validations v1.2.0
Simple validations made easier
Validate the following: 1. Email string --> Params: (email) 2. Password string --> Params: (pwd) --> Rules applied: Check a password between 7 to 15 characters which contain at least one numeric digit and a special character. 3. validates the length of the string --> Params: (val, len) 4. Check the number of digits after decimal point --> Params: (val, len) --> Rules applied: Val is the decimal number and len is the lenth to assert with after decimal point. 4. Check the number of digits before decimal point --> Params: (val, len) --> Rules applied: Val is the decimal number and len is the lenth to assert with before decimal point.