.is_func()
Checks whether input is a function.
Syntax
#fs.scripts.lib().is_func(func);
Parameters
func
The input to be evaluated.
Return
Returns a boolean.
Example
function(context, args) {
const l = #fs.scripts.lib();
function my_func () {
return "I am a function";
};
let func = my_func;
return l.is_func(my_func);
}