Arguments of operatorp



Hi list,

operatorp documentation is very short even on the web.

It seems that the second argument or operatorp is a string aka the name of the operator
for example operatorp(a+b,"+") returns true
but I don't know how to recognize diff or integrate operators
for example operatorp(integrate(...),"integrate"), operatorp(diff(...),"diff'), operatorp(diff(...),"derivative") both return false.

Maybe this is intended behaviour but in that case, how would I walk an expression to find the integrate and diff operators ?

TIA