Check if a CSS custom property is registered. This function will return false for custom properties that behave identically to non-registered properties (e.g., registered inherited properties with syntax “*”).
false
The property to check.
Optional
The window to check in.
Check if a CSS custom property is registered. This function will return
false
for custom properties that behave identically to non-registered properties (e.g., registered inherited properties with syntax “*”).