Skip to content

Overload

Overload defines a named overload of a function.

optional async?: AsyncOp

Async defines the overload with an AsyncOp implementation.


optional binary?: BinaryOp

Binary defines the overload with a BinaryOp implementation.


optional func?: FunctionOp

Function defines the overload with a FunctionOp implementation.


nonStrict: boolean

NonStrict specifies whether the overload tolerates error and unknown arguments.


operandTrait: number

Operand trait used to dispatch the call.


operator: string

Operator name as written in an expression or defined within operators.


optional unary?: UnaryOp

Unary defines the overload with a UnaryOp implementation.