noneOf
Full name: taxi.stdlib.noneOf
Signature
declare function noneOf(values:Boolean...): BooleanDescription
Returns true only if all provided boolean values are false. Equivalent to logical NOR.
This function is useful for checking if none of multiple conditions apply.
// Check if a user has no permissions
type NoPermissions inherits Boolean by noneOf(IsAdmin, IsEditor, IsViewer)Examples
Returns true when all provided boolean conditions are false. Uses type-based access to combine semantic boolean types.
Try it out
Schema
Query Plan
Play with this snippet by editing it here, or edit it on Taxi Playground
Result
Query failed