import{v as u}from"./index-OziN21LA.js";const f=(n,r="default",t)=>{if(!n||!Reflect.has(n,r))return null;if(!u(n[r]))return console.error(`${r} is not a function!`),null;const e=n[r];return e?e(t):null};export{f as g};
