UNPKG

@sudoo/marked

Version:

JavaScript & TypeScript code runner in JavaScript, safe with marked territory, asynchronous

22 lines (21 loc) 635 B
/** * @author WMXPY * @namespace Variable * @description List */ import { Variable } from "./variable"; export declare class SandList<T> { static fromScratch<T>(): SandList<T>; static fromRawList<T>(list: T[]): SandList<T>; static fromVariableList<T>(list: Array<Variable<T>>): SandList<T>; private _list; private constructor(); get list(): T[]; get length(): number; map<MapType>(func: (element: Variable<T>) => MapType): MapType[]; push(value: T): this; get(key: number): T | undefined; getRaw(key: number): Variable<T> | undefined; clone(): SandList<T>; toString(): string; }