1 2
export const isObject = (o: unknown): o is object => typeof o === "object" && !Array.isArray(o) && !!o;