Created
October 4, 2021 16:28
-
-
Save crisog/1abec80090317fcc0d703aeab455a493 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
function isHex(str) { | |
return /^[A-F0-9]+$/i.test(str) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment