MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / equals

Method equals

javascript/selenium-webdriver/lib/color.js:109–111  ·  view source on GitHub ↗

* @param {*} other * @returns {boolean}

(other)

Source from the content-addressed store, hash-verified

107 * @returns {boolean}
108 */
109 equals(other) {
110 return other instanceof Color && this.asRgba() === other.asRgba()
111 }
112
113 // Converters
114 static #fromRgb(v) {

Callers 3

window.jsFile · 0.45
color_test.jsFile · 0.45
webdriver_test.jsFile · 0.45

Calls 1

asRgbaMethod · 0.95

Tested by

no test coverage detected