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

generateTmpVarName

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

temporary variable name generator

@example
// returns "$$state.player.hp$$"
generateTmpVarName("state.player.hp")
generateTmpVarName("state", "player", "hp")
function generateTmpVarName(...keysPath: string[]): string;
§
generateTmpVarName(...keysPath: string[]): string
[src]

§Parameters

§
...keysPath: string[] optional
[src]

§Return Type

§
string
[src]