Class: FunctionTransformer
Defined in: Transformer/Function.ts:6
Transformers are used to transform a value based on the tag at runtime.
Implements
Constructors
new FunctionTransformer()
new FunctionTransformer(fn
): FunctionTransformer
Defined in: Transformer/Function.ts:9
Parameters
fn
Returns
Methods
transform()
transform(tag
): string
Defined in: Transformer/Function.ts:13
Transforms the given tag.
Parameters
tag
The tag that triggered the transformer.
Returns
string