Version: v0.6.1 - Beta.  We welcome contributors & feedback.  THanks!

Meta.callFunction

Meta.callFunction($functionName, $arguments = [])

Description

Call a user function in the current namespace, with an optional List of arguments.

Meta.callFunction('addNumbers', [1, 2]);
//= 3

function addNumbers($a, $b) {
    return $a + $b;
}