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

Function hex

src/utils/color/regex.js:209–213  ·  view source on GitHub ↗

* Regular expression to match hex colors * @type {RegExp}

()

Source from the content-addressed store, hash-verified

207 * @type {RegExp}
208 */
209 get hex() {
210 delete this.hex;
211 this.hex = new RegExp(`^${HEX}$`);
212 return this.hex;
213 },
214 /**
215 * Regular expression to match any color
216 * @type {RegExp}

Callers 1

toStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected