type

TopFn

@Js
const class TopFn : Fn

Top level function in the namespace

constructors

fields

isAdmin

Is this function tagged as admin-only

isDeprecated

Return if this function has been deprecated

isSu

Is this function tagged as superuser-only

meta

Func def metadata

methods

isLazy

Is this a lazy function that accepts un-evaluated arguments

isTop

Return true

toStr

Return only name

Slot Details

isAdmin

virtual const override Bool isAdmin

Is this function tagged as admin-only

isDeprecated

virtual const override Bool isDeprecated

Return if this function has been deprecated

isLazy

virtual Bool isLazy()

Is this a lazy function that accepts un-evaluated arguments

isSu

virtual const override Bool isSu

Is this function tagged as superuser-only

isTop

virtual override Bool isTop()

Return true

make

new make(Loc loc, Str name, Dict meta, FnParam[] params, Expr body := Literal.nullVal)

meta

virtual const override Dict meta

Func def metadata

toStr

virtual override Str toStr()

Return only name