MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / eq

Method eq

src/cm/colorView.ts:132–141  ·  view source on GitHub ↗
(other: ColorWidget)

Source from the content-addressed store, hash-verified

130 }
131
132 eq(other: ColorWidget): boolean {
133 return (
134 other.state.colorType === this.state.colorType &&
135 other.color === this.color &&
136 other.colorRaw === this.colorRaw &&
137 other.state.from === this.state.from &&
138 other.state.to === this.state.to &&
139 (other.state.alpha || "") === (this.state.alpha || "")
140 );
141 }
142
143 toDOM(): HTMLElement {
144 const wrapper = document.createElement("span");

Callers 3

checkFileFunction · 0.45
editorFile.jsFile · 0.45
openFile.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected