UNPKG

mobx-keystone

Version:

A MobX powered state management solution based on data trees with first class support for TypeScript, snapshots, patches and much more

9 lines (8 loc) 191 B
import { AnyModel } from './BaseModel'; /** * Checks if an object is a model instance. * * @param model * @returns */ export declare function isModel(model: unknown): model is AnyModel;