Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/localekit/util/flatten.ts>Flattened.toFlattened

A translation plugin for Deno
Go to Latest
method Flattened.toFlattened
import { Flattened } from "https://deno.land/x/localekit@0.9.0/util/flatten.ts";

Converts an object into a flattened representation.

Parameters

obj: Record<string, unknown>
  • The object to be flattened.

Returns

The flattened representation of the object.