Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Meta.callFunction

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

Description

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

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

fn addNumbers($a, $b) {
    return $a + $b
}