Node.length

If this is a collection, return its length.

Otherwise, throw NodeException.

struct Node
@property const @trusted
size_t
length
()

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