feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
@@ -0,0 +1,26 @@
//#region src/compat/object/toPairsIn.d.ts
/**
* Creates an array of key-value pairs from an object, including inherited properties.
*
* @template T
* @param {Record<string, T> | Record<number, T>} object - The object to query.
* @returns {Array<[string, T]>} Returns the array of key-value pairs.
*
* @example
* const object = { a: 1, b: 2 };
* toPairsIn(object); // [['a', 1], ['b', 2]]
*/
declare function toPairsIn<T>(object?: Record<string, T> | Record<number, T>): Array<[string, T]>;
/**
* Creates an array of key-value pairs from an object, including inherited properties.
*
* @param {object} object - The object to query.
* @returns {Array<[string, any]>} Returns the array of key-value pairs.
*
* @example
* const object = { a: 1, b: 2 };
* toPairsIn(object); // [['a', 1], ['b', 2]]
*/
declare function toPairsIn(object?: object): Array<[string, any]>;
//#endregion
export { toPairsIn };