const t="array",n="function",r="object",{isArray:o}=Array,e=(t,n)=>n,u=t=>y.bind(t),c=t=>typeof t===n?(t=>t())(t):t;function y(){return this}const a=(n,r)=>n===t?[r]:{t:n,v:r},f=(n,u=e)=>{let c=typeof n,y=n;return c===r&&(o(n)?(c=t,y=n.at(0)):({t:c,v:y}=n)),u(c,y)},i=(t,r)=>t===n?r:a(t,r),l=(n,e=i)=>{const u=null===n?"null":typeof n;return e(u===r&&o(n)?t:u,n)};export{u as bound,a as target,c as unbound,f as unwrap,l as wrap};
