import { type Str } from "https://deno.land/x/rimbu@0.13.5/typical/mod.ts";
const { TakeStrict } = Str;
Returns the first N characters of the given string, or false if the string does not have enough characters.
Examples
Example 1
Example 1
TakeStrict<'abcd', 2> => 'ab'
TakeStrict<'abcd', 5> => false