type/applied
check for an object of type applied
Calling Sequence
Parameters
Description
Examples
type(expr, applied)
type(expr, applied(vtype))
expr
-
any expression
vtype
type
The call type(expr, applied) checks if expr is of the form name(args), where args is an expression sequence of zero or more items.
If a parameter vtype is given, then it also checks if each of the arguments are each of type vtype.
The types applied and applied(vtype) are identical to the types function and function⁡vtype, respectively.
type⁡sin⁡x,applied
true
type⁡sin,applied
false
type⁡f⁡,applied
type⁡f⁡x,y,z,applied
type⁡f⁡x,y,z,applied⁡name
type⁡f⁡1,y,z,applied⁡name
See Also
function
type/appliable
type/function
Download Help Document