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.
An operation.
Operation or expression types.
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.