Language
Functions
Logic & array built-in functions
Logic
fn all(e: vecN<bool>) -> boolReturns true if each component of e is true.
fn any(e: vecN<bool>) -> boolReturns true if any component of e is true.
fn select(f: T, t: T, cond: bool) -> TReturns t when cond is true, and f otherwise.
Array
fn arrayLength(p: ptr<storage, array<E>, AM>) -> u32Returns the number of elements in the runtime-sized array.
E is an element type for a runtime-sized array, access mode AM is read or read_write.