Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The equals()
method of the CSSNumericValue
interface returns a boolean indicating whether the passed value are strictly equal. To return a value of true
, all passed values must be of the same type and value and must be in the same order. This allows structural equality to be tested quickly.