$isValidHex
Checks whether the given color hex is valid or not.
Syntax
$isValidHex[Color hex]
Parameters
Color hex
(Type: String || Flag: Emptiable)
: The color hex to check.
Example
$nomention
Is valid HEX? $isValidHex[$message]
How $message
works?
🤖 Playground
Here you can understand how this function works.
Input:
$isValidHex[]Output:
Is valid HEX? true