UNPKG

rx-store-core

Version:

A Rxjs and Immutable based Type-safe state management tool

5 lines (4 loc) 169 B
export const isObject = (value: unknown): value is object => { const type = typeof value; return value != null && (type === "object" || type === "function"); };