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

Meta.functionExists

Meta.functionExists($functionName) -> boolean

Description

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

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

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

fn doSomething {
    ...
}