import { type Filter } from "https://deno.land/x/rimbu@1.0.2/typical/str.ts";
Returns a string containing all the elements that match the given Sub type.
Examples
Example 1
Example 1
Filter<'abcd', 'b'> => 'b'
Filter<'abcd', 'b' | 'd'> => 'bd'
Type Parameters
Sub extends string & NonEmptyString<Sub>