import { type Str } from "https://deno.land/x/rimbu@1.1.0/typical/index.ts";
const { Contains } = Str;
Returns true if the given string contains the given Amount (default 1) of Sub types.
Examples
Example 1
Example 1
Contains<'abcba', 'b'> => true
Contains<'abcba', 'b', 2> => true
Contains<'abcba', 'b', 3> => false
Contains<'abcba', 'q'> => false