Skip to content

getAllEntries<T>

Gets all entries of an object.

Import:

import { getAllEntries } from 'obsidian-dev-utils/object-utils';

Signature:

function getAllEntries($object: T): [StringKeys<T>, T[StringKeys<T>]][]

Parameters:

ParameterTypeDescription
$objectT

Returns: [StringKeys<T>, T[StringKeys<T>]][] — An array of all entries of the object.