Function length

  • Example

    import * as S from "flurp/string";

    S.length("weasel"); // 6
    S.length(""); // 0

    Parameters

    • s: string

    Returns number