@yookue/ts-lang-utils
    Preparing search index...

    Function toChars

    • Returns a string array that represents the given string

      Parameters

      • Optionaltext: null | string

        the source string to inspect

      Returns undefined | string[]

      a string array that represents the given string

      David Hsing

      toChars(undefined);    // undefined
      toChars('foobar'); // ['f', 'o', 'o', 'b', 'a', 'r']