Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

A translation plugin for Deno
Latest
method Flattened.toFlattened
import { Flattened } from "https://deno.land/x/localekit@2.2.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.