Skip to main content

generic_index

Function generic_index 

Source
pub async fn generic_index(
    base: &Value,
    indices: &[usize],
) -> Result<Value, RuntimeError>
Expand description

Reads scalar paren indices without converting selector values through f64.

The runtime’s generic indexing API predates typed integer storage and accepts floating-point selectors. Keep using it for its broader legacy surface, but route storage-aware values through the VM slice plan so both the selector and the selected integer payload retain their exact representation.