OneIdentity

WMA link


OneIdentity

is an attribute assigned to a symbol, say f, indicating that $f[x]$, $f[f[x]]$, etc. are all equivalent to x in pattern matching.

Here is how OneIdentity changes the pattern matched above :

However, without a default argument, the pattern does not match:

OneIdentity does not change evaluation:

NumericFunction
Orderless