Comunica
    Preparing search index...
    • Check if an operation contains an operation or expression of one of the given types, including itself. This is cheaper than visiting the operation, as it stops at the first match, and does not descend into terms or metadata.

      Parameters

      • operation: BaseOperation

        An operation.

      • types: string[]

        Operation or expression types.

      Returns boolean