Skip to contents

Test whether an expression contains a subexpression

Usage

has(e, ...)

Arguments

e

A sym expression.

...

Subexpressions to look for. A symbol matches when it is free in e; a function such as sin or a Function() class matches any of its applications.

Value

TRUE or FALSE.