import { type Str } from "https://deno.land/x/rimbu@1.1.0/typical/index.ts";
const { Init } = Str;
Returns all but the last character of the given string, or false if the string is empty.
Examples
Example 1
Example 1
Init<'abcd'> => 'abc'
Init<''> => false
definition: InitHelper<S, "">