Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
//#region src/compat/object/valuesIn.d.ts
/**
* Retrieves the values from an object, including those inherited from its prototype.
*
* @template T
* @param {Record<string, T> | Record<number, T> | ArrayLike<T> | null | undefined} object - The object to query.
* @returns {T[]} Returns an array of property values.
*
* @example
* const obj = { a: 1, b: 2, c: 3 };
* valuesIn(obj); // => [1, 2, 3]
*/
declare function valuesIn<T>(object: Record<string, T> | Record<number, T> | ArrayLike<T> | null | undefined): T[];
/**
* Retrieves the values from an object, including those inherited from its prototype.
*
* @template T
* @param {T | null | undefined} object - The object to query.
* @returns {Array<T[keyof T]>} Returns an array of property values.
*
* @example
* const obj = { a: 1, b: 2, c: 3 };
* valuesIn(obj); // => [1, 2, 3]
*/
declare function valuesIn<T extends object>(object: T | null | undefined): Array<T[keyof T]>;
//#endregion
export { valuesIn };