anyOf
Full name: taxi.stdlib.anyOf
Signature
declare function anyOf(values:Boolean...): BooleanDescription
Returns true if at least one of the provided boolean values is true. Equivalent to logical OR.
This function evaluates multiple conditions and returns true if any of them are true.
// Check if a user has any account verification
type IsVerified inherits Boolean by anyOf(HasEmailVerification, HasPhoneVerification, HasIdVerification)Examples
Returns true when at least one of the provided boolean conditions is true. Define a computed type in the schema using anyOf for reuse across queries.
Try it out
Schema
Query Plan
Play with this snippet by editing it here, or edit it on Taxi Playground
Result
Query failed