Skip to content

AggregateSizeVisitor

AggregateSizeVisitor is implemented by values capable of reporting their total recursive element count.

aggregateSize(sizer): number

aggregateSize returns the total count of nested atomic elements, saturating at MAX_UINT32.

AggregateSizer

number