Skip to main content Link Search Menu Expand Document (external link)

FunctionArg interface

A placeholder for a mapped argument

Signature:

export interface FunctionArg 

Remarks

arg identifies an input variable, the value of which is passed to the function identified by key, with param as an optional argument. The output of the function is used in the output.

In strict mode, param (if defined) may only be an array containing one Content token.

Properties

Property Modifiers Type Description
arg   string  
ctx   Context  
key   string  
param?   Array<Content | PlainArg | FunctionArg | Select | Octothorpe> (Optional)
type   ‘function’