/**
* Converts an object to an array of key-value pairs.
*
* @param {Record<string, any>} obj - The object to be converted.
* @returns {[string, any][]} - The array of key-value pairs.
*/exportfunctiontoArray(obj: Record<string, any>): [string, any][] {
returnObject.entries(obj);
}