type

SpecFunc

@Js
const mixin SpecFunc

Function specific APIS for sys::Func specs

methods

arity

Number of parameters

params

Parameter types in positional order

returns

Return type

thunk

Get the thunk used to call this function

Slot Details

arity

abstract Int arity()

Number of parameters

params

abstract Spec[] params()

Parameter types in positional order

returns

abstract Spec returns()

Return type

thunk

abstract Thunk thunk()

Get the thunk used to call this function