flattenObjectKeys() function in Refine source code.
In this article, we will review a function, flattenObjectKeys, in Refine source code.
const isNested = (obj: any) => typeof obj === "object" && obj !== null;
const isArray = (obj: any) => Array.isArray(obj);
export const flattenObjectKeys = (obj: an...
thinkthroo.com2 min read