Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Tk

import { Tk } from "https://raw.githubusercontent.com/ycw/svg-path/main/src/mod.ts";
abstract

Token.

abstract class Tk {
constructor(pos: number);
abstract clone(): Tk;
isCmd(): this is TkCmd;
isNum(): this is TkNum;
isSep(): this is TkSep;
}

§Constructors

§
new Tk(pos: number)
[src]

Construct a token.

@param pos

Source position.

§Methods

§
clone(): Tk abstract
[src]
§
isCmd(): this is TkCmd
[src]

Check if this token is a command token.

§
isNum(): this is TkNum
[src]

Check if this token is a number token.

§
isSep(): this is TkSep
[src]

Check if this token is a separator token.