Created
April 18, 2021 01:52
-
-
Save VB10/39a00c370d0e7c8cb8016c7acdf8ecf3 to your computer and use it in GitHub Desktop.
validator
This file contains hidden or 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
extension StringExtension on String { | |
bool validateMinLenght([double value = 6]) { | |
return this.length > value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment