import { type NonEmptyString } from "https://deno.land/x/rimbu@1.2.0/typical/str.ts";
Returns never if the given string is empty, otherwise the given string.
Examples
Example 1
Example 1
NonEmptyString<''> => never
NonEmptyString<'abc'> => 'abc'
definition: "" extends S ? never : unknown