NONE(...)

All functions > ARRAY > NONE(...)

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

Syntax

NONE(value, value, ...)

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

See also

Examples

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

Last update at: 2026/06/20 10:08:10