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) 231 B
import { AnyFunction } from '../utils/AnyFunction'; /** * Returns if the given function is a model action or not. * * @param fn Function to check. * @returns */ export declare function isModelAction(fn: AnyFunction): boolean;