UNPKG

@n3okill/utils

Version:
14 lines 407 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isKind = isKind; const kindOf_1 = require("./kindOf"); /** * Check if argument is of the kind * @param arg * @param {string} kind Kind to match the type * @returns {boolean} */ function isKind(arg, kind) { return (0, kindOf_1.kindOf)(arg).toLowerCase() === kind.toLowerCase(); } //# sourceMappingURL=isKind.js.map