Luna::Variant::size
usize size() const
Gets the number of the child variants of this variant.
Return value
Returns the number of the child variants of this variant. Returns 0
if this variant is not an array or object variant.
usize size() const
Gets the number of the child variants of this variant.
Returns the number of the child variants of this variant. Returns 0
if this variant is not an array or object variant.