Skip to content

length

length(s): number

Defined in: Data/Str.ts:175

Returns the length of the string.

string

number

pipe("hello", Str.length); // 5
pipe("", Str.length);      // 0