NONE

All functions > ARRAY > NONE

Returns TRUE if no elements in the boolean array are true.

Syntax

Diagram(
  Sequence(
    Terminal("NONE"),
    Terminal("("),
    NonTerminal("value"),
    Terminal(","),
    OneOrMore(NonTerminal("value"), Terminal(",")),
    Terminal(")"),
  )
)
ParameterTypeRequiredDescription
valueBOOLEANYesBoolean value to check

Notes

  • Returns TRUE for empty arrays (vacuous truth)
  • Returns TRUE if all elements are false
  • Equivalent to NOT ANY(array)
  • NULL values in array will result in NULL return value

Examples

FeatureQL
SELECT
    f1 := NONE(true, true, true),  -- Contains true
    f2 := NONE(true, false, true),  -- Contains true
    f3 := NONE(false, false, false)  -- No true elements
;
Result
f1 BOOLEANf2 BOOLEANf3 BOOLEAN
falsefalsetrue

Last update at: 2026/03/03 16:47:38
Last updated: 2026-03-03 16:48:19