UNPKG

@arrows/dispatch

Version:
11 lines (10 loc) 335 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const curry_1 = require("@arrows/composition/curry"); const rawIs = (prototype, value) => value instanceof prototype; /** * Checks if a value is an instance of a prototype/class. */ const is = curry_1.default(rawIs); exports.is = is; exports.default = is;