Tagscript

Quick Start

Getting Started
TagScript Parsers
TagScript Transformers

Plugins

TagScript Plugins

API Docs

TagScript API Docs
Getting Started
IActions
IKeyValues
IParser
ITransformer
Discord Plugin

Links

GithubAuthor GithubX (Twitter)
Tagscript
TagScript API Docs/Getting Started/Interfaces

TagScript


Interface: ITransformer

Defined in: interfaces/index.ts:7

Transformers are used to transform a value based on the tag at runtime.

Properties

transform()

transform: (tag) => null | string

Defined in: interfaces/index.ts:13

Transforms the given tag.

Parameters

tag

Lexer

The tag that triggered the transformer.

Returns

null | string

IParser

Previous Page

Awaitable

Next Page

On this page

Interface: ITransformer
Properties
transform()
Parameters
tag
Returns