import { type Str } from "https://deno.land/x/rimbu@1.1.0/typical/index.ts";
const { FilterNot } = Str;
Returns a string containing all the elements that do not match the given Sub type.
Examples
Example 1
Example 1
FilterNot<'abcd', 'b'> => 'acd'
FilterNot<'abcd', 'b' | 'd'> => 'ac'
Type Parameters
Sub extends string & NonEmptyString<Sub>