Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/typical/str.ts>Length

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Length
import { type Length } from "https://deno.land/x/rimbu@1.0.2/typical/str.ts";

Returns the length of the given string S.

Examples

Example 1

Length<'abc'> => 3

Type Parameters

S extends string
definition: LengthHelper<S, 0>