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