MCPcopy Create free account
hub / github.com/MirrowApp/mirrow / isCssException

Function isCssException

packages/core/src/data/codeblocks.ts:256–266  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

254}
255
256export function isCssException(name: string): boolean {
257 for (const exception of cssExceptions) {
258 if (typeof exception === "string" && exception === name) {
259 return true;
260 }
261 if (exception instanceof RegExp && exception.test(name)) {
262 return true;
263 }
264 }
265 return false;
266}
267
268export function isJsEvent(name: string): boolean {
269 return jsEventLookup.has(normalizeJsEventName(name));

Callers 1

fallThroughMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected