Function ensureMathmlSpecTagName

Passes the input through if it's a valid MathML spec tag name. Throws an error if not.

  • Parameters

    • this: void
    • input: unknown

    Returns
        | "annotation"
        | "annotation-xml"
        | "maction"
        | "math"
        | "merror"
        | "mfrac"
        | "mi"
        | "mmultiscripts"
        | "mn"
        | "mo"
        | "mover"
        | "mpadded"
        | "mphantom"
        | "mprescripts"
        | "mroot"
        | "mrow"
        | "ms"
        | "mspace"
        | "msqrt"
        | "mstyle"
        | "msub"
        | "msubsup"
        | "msup"
        | "mtable"
        | "mtd"
        | "mtext"
        | "mtr"
        | "munder"
        | "munderover"
        | "semantics"