Node.length

If this is a collection, return its length.

Otherwise, throw NodeException.

struct Node
@property
size_t
length
const @trusted
(
)

Return Value

Type: size_t

Number of elements in a sequence or key-value pairs in a mapping.

Throws

NodeException if this is not a sequence nor a mapping.

Meta