Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function formLooseBordered
import { formLooseBordered } from "https://deno.land/x/localekit@2.2.0/util/match/utils/common.ts";

Forms a loose bordered object of RegExps with different forms of the given key and parts.

Parameters

key: string
  • The key to be used in the forms.
optional
parts: string[] = [UNSUPPORTED]
  • An array of additional parts to be included in the forms. Defaults to an empty array.
optional
all_arg_optional = [UNSUPPORTED]

Returns

A LooseForms object containing different forms of the key and parts.