Determines whether the function with the given id is a higher-order function, i.e.,
either takes a function as an argument or (may) returns a function.
If the return is an identity, e.g., function(x) x, this is not considered higher-order,
if no function is passed as an argument.
Determines whether the function with the given id is a higher-order function, i.e., either takes a function as an argument or (may) returns a function. If the return is an identity, e.g.,
function(x) x
, this is not considered higher-order, if no function is passed as an argument.