Class: IntegerTransformer
Defined in: Transformer/Integer.ts:12
Integer transformer transforms an integer based on the given parameters.
If no parameters are given, the integer will be returned as is.
if ++
parameter is given, the integer will be incremented.
if --
parameter is given, the integer will be decremented.
Implements
Constructors
new IntegerTransformer()
new IntegerTransformer(int
): IntegerTransformer
Defined in: Transformer/Integer.ts:15
Parameters
int
`${number}`
| `${bigint}`
Returns
Methods
transform()
transform(tag
): string
Defined in: Transformer/Integer.ts:19
Transforms the given tag.
Parameters
tag
The tag that triggered the transformer.
Returns
string