import { type EndsWith } from "https://deno.land/x/rimbu@1.2.1/typical/str.ts";
If the given string does not end with the given End
type, returns false.
Otherwise, returns a tuple containing the start and the matched end.
Type Parameters
End extends string & NonEmptyString<End>