UNPKG

@arrows/dispatch

Version:
10 lines (9 loc) 310 B
import { Class } from './internal/common-types'; declare type RawIs = (prototype: Class, value: any) => boolean; declare type Is = RawIs & ((prototype: Class) => (value: any) => boolean); /** * Checks if a value is an instance of a prototype/class. */ declare const is: Is; export { is }; export default is;