import { type LastString } from "https://deno.land/x/prelude_js@1.2.0/last.ts";
Infer the last element of string.
definition: T extends `${infer L}${infer R}` ? R extends "" ? L : LastString<R> : string
import { type LastString } from "https://deno.land/x/prelude_js@1.2.0/last.ts";
Infer the last element of string.