import { type TakeStrict } from "https://deno.land/x/rimbu@1.2.1/typical/str.ts";
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