Version: v0.8.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

fun doSomething {
    ...
}