valueAt

fun valueAt(segmentNumber: Long, ordinal: Int): Variant?

The value at ordinal, or null where the document holds none at path.

Throws

if canProject refuses this ordinal. Refusing rather than approximating is the point: a caller that ignored the gate would otherwise be handed a value that is numerically right and not the one in the document.