MCPcopy Create free account
hub / github.com/KaTeX/KaTeX / hasClass

Method hasClass

src/tree.ts:39–41  ·  view source on GitHub ↗
(className: string)

Source from the content-addressed store, hash-verified

37 }
38
39 hasClass(className: string): boolean {
40 return this.classes.includes(className);
41 }
42
43 /** Convert the fragment into a node. */
44 toNode(): Node {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected