Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dynablox_opencloud/src/shims/urlpattern/path-to-regex-modified.ts>tokensToFunction

A Roblox OpenCloud API wrapper for Deno and NodeJS written in TypeScript.
Latest
function tokensToFunction
import { tokensToFunction } from "https://deno.land/x/dynablox_opencloud@v0.2.2/src/shims/urlpattern/path-to-regex-modified.ts";

Expose a method for transforming tokens into the path function.

Type Parameters

optional
P extends object = object

Parameters

tokens: Token[]
optional
options: TokensToFunctionOptions = [UNSUPPORTED]