Skip to content
These docs are for v1 of RelationalAI. Click here to view the v2 docs.

anyof

relationalai.semantics.std.constraints
anyof(*args: Concept | Ref) -> Expression

Declare that at least one of the given concepts must be true.

Parameters

  • *args

    (Concept | Ref, default: ()) - Concepts or Refs, at least one of which must be satisfied.

Returns

  • Expression - An Expression computing the anyof constraint.