Skip to main content

check_shape_if_available

Function check_shape_if_available 

Source
pub fn check_shape_if_available(
    cx: &mut Cx,
    shape_ref: Ref,
    input: Value,
) -> Result<()>
Expand description

Checks input against a shape reference, passing silently when the shape is Any or not registered.

Used by invoke_op to validate operation arguments; an unresolved or any-matching shape is treated as accepting all input.