Skip to main content

spread_value_kind

Function spread_value_kind 

Source
pub fn spread_value_kind(value: &Value) -> &'static str
Expand description

Human-readable value-kind name for a spread ([...expr]) operand that turned out not to be a list. Shared between the sync (interpreter/eval.rs) and async (kernel.rs::eval_expr_async) literal evaluators so the two paths can’t diverge on wording (same convention as StringTestOp::matches_shape).