"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=(function(n){if(n==null)return a;if(typeof n=="function")return c(n);if(typeof n=="object")return Array.isArray(n)?f(n):y(n);if(typeof n=="string")return l(n);throw new Error("Expected function, string, or object as test")});function f(n){const e=[];let r=-1;for(;++r<n.length;)e[r]=i(n[r]);return c(t);function t(...u){let o=-1;for(;++o<e.length;)if(e[o].apply(this,u))return!0;return!1}}function y(n){const e=n;return c(r);function r(t){const u=t;let o;for(o in n)if(u[o]!==e[o])return!1;return!0}}function l(n){return c(e);function e(r){return r&&r.type===n}}function c(n){return e;function e(r,t,u){return!!(p(r)&&n.call(this,r,typeof t=="number"?t:void 0,u||void 0))}}function a(){return!0}function p(n){return n!==null&&typeof n=="object"&&"type"in n}exports.convert=i;
//# sourceMappingURL=index.cjs.js.map
