UNPKG
fui-fancyui
Version:
latest (0.6.12)
0.6.12
0.6.11
0.6.0
0.5.10
0.5.9
0.5.8
0.5.7
0.5.6
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.9
0.3.8
0.3.7
0.3.6
FancyUI Libary
fui.cool
TobiTRy/fui-fancyui
fui-fancyui
/
dist
/
src
/
utils
/
validations
/
isColorValid
/
isColorValid.d.ts
6 lines
(5 loc)
•
217 B
TypeScript
View Raw
1
2
3
4
5
6
/** * Validates if a given string is a valid color representation. * Logs a warning to the console if the color is invalid or input is not a string. */
export
default
function
isColorValid
(color: string)
: boolean;