@mikuroxina/mini-fn
    Preparing search index...

    Function fromString

    • Creates the list of characters of string.

      Parameters

      • str: string

        The source string.

      Returns List.List<string>

      The list of characters.

      Examples

      expect(toArray(fromString("hoge"))).toStrictEqual(["h", "o", "g", "e"]);
      expect(toArray(fromString(""))).toStrictEqual([]);