Skip to main content

any

Function any 

Source
pub fn any(params: &[Value]) -> NativeResult
Expand description

Checks if any member of a Value::Array is [Value::Boolean(true)]. Can be called with a single Value::Array parameter or as varadic function.

  • Declaration: any(...): Boolean