Chop Logic Core - v1.4.0
    Preparing search index...

    Function tokenizeString

    • Tokenizes an input string into an array of known logical glyphs and variable names.

      • Recognizes logical glyphs defined in Glyph.
      • Groups consecutive English letters into variables.
      • Ignores spaces in the input.
      • Throws an error if the input contains unsupported characters.

      Parameters

      • input: string

        The logical expression as a string.

      Returns string[]

      An array of tokens (glyphs and variables).

      If the input contains unsupported characters.