4 lines
88 B
TypeScript
4 lines
88 B
TypeScript
export const isObject = (obj) => {
|
|
return typeof obj === "object" && obj !== null;
|
|
};
|