Skip to main content

from_primitive

Function from_primitive 

Source
pub fn from_primitive(
    primitive: Primitive,
    inputs: Vec<Array>,
) -> Result<Vec<Array>>
Expand description

Records primitive applied to inputs, with the same validation as the operations, and returns one array per output. Failure is sticky: if an input has failed, the outputs fail with its error.