len

Python Style Length Alias.

len
(
T
)
(
in T a
)

Examples

import std.algorithm.iteration: map;
import std.array: array;
assert(([42].map!str).array == [`42`]);

Meta