Skip to main content

require_array

Function require_array 

Source
pub fn require_array(nb: &ValueWord) -> Result<ArrayView<'_>, VMError>
Expand description

Extract an array view from a ValueWord, or return a type error.

Handles all array variants: Generic, Int, Float, and Bool.