← Back to index
function CharColl

Creates a collection of chars from given string.

Examples
🔗

Example 1

import { assertEquals } from "std/assert/mod.ts";
import { CharColl, Coll } from "./collection.ts";

assertEquals(CharColl("abc"), Coll("a", "b", "c"));
Parameters
🔗
str : string
Return Type