import { type Str } from "https://deno.land/x/rimbu@0.12.3/typical/mod.ts";
const { Count } = Str;
Returns the amount of times the given Sub
type is encountered in the given string.
Type Parameters
Sub extends string & NonEmptyString<Sub>
import { type Str } from "https://deno.land/x/rimbu@0.12.3/typical/mod.ts";
const { Count } = Str;
Returns the amount of times the given Sub
type is encountered in the given string.