Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.23 KB

File metadata and controls

36 lines (23 loc) · 1.23 KB
title FunctionArg
parent @messageformat/parser
grand_parent API Reference

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'