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

provideTmpVarNames

import { provideTmpVarNames } from "https://raw.githubusercontent.com/Hatscat/MetavaScript/main/index.ts";

returns the inputted variable collection filled with temporary names in values

@example
// returns { state: "$$state$$", element: { canvas: "$$element.canvas$$", header: "$$element.header$$" }}
provideTmpVarNames({ state: "", element: { canvas: "", header: "" } })
function provideTmpVarNames<T extends VarTree>(record: T, ..._keys: string[]): T;
§
provideTmpVarNames<T extends VarTree>(record: T, ..._keys: string[]): T
[src]

§Type Parameters

§
T extends VarTree
[src]

§Parameters

§
record: T
[src]
§
..._keys: string[] optional
[src]

§Return Type