VariantIter.nChildren

Queries the number of child items in the container that we are iterating over. This is the total number of items -- not the number of items remaining.

This function might be useful for preallocation of arrays.

class VariantIter
size_t
nChildren
()

Return Value

Type: size_t

the number of children in the container

Meta

Since

2.24