Closed VictorioBerra closed 8 years ago
I see the alpha stuff but nothing seems to also take into account numbers and special chars.
Do I need to use my own?
function string(val) { if (typeof(val) !== "string") { throw new Error('Value must be a string.'); } }
@LordWingZero you'll have to read the source. If you find an answer it would be good if you could open a PR either adding the feature and/or updating the docs.
I see the alpha stuff but nothing seems to also take into account numbers and special chars.
Do I need to use my own?