API Reference > imodeljs-common > Symbology > Gradient > Gradient.keyColorEquals Gradient.keyColorEquals Function Compare two KeyColor objects for equality. Returns true if equal. keyColorEquals(a: Gradient.KeyColor, b: Gradient.KeyColor): boolean Parameter Type Description a Gradient.KeyColor b Gradient.KeyColor Returns - boolean Defined in core/common/src/Gradient.ts Line 64 Last Updated: 11 June, 2024