wireIsCallable() function  
Is the given $var callable as a function?
ProcessWire namespace aware version of PHP’s is_callable() function
Please note this method is and thus not intended to be called directly.
Internal usage
// basic internal usage
$bool = wireIsCallable  ($var);
// internal usage with all arguments
$bool = wireIsCallable  ($var, bool $syntaxOnly = false);Arguments
| Name | Type(s) | Description | 
|---|---|---|
$var | string callable | |
$syntaxOnly (optional) | bool | 
Return value
bool
Functions methods and properties
API reference based on ProcessWire core version 3.0.252