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

Meta.functionExists

Meta.functionExists($functionName)

Description

Check whether a user function is defined in the current file.

Meta.functionExists('doSomething');
//= true

Meta.functionExists('doSomethingElse');
//= false

function doSomething() {
    // ...
}