@horojs/core
Version:
A micro library for a reactive UI application.
3 lines (2 loc) • 439 B
JavaScript
function n(n){return"string"==typeof n||"fragment"in n}function t(n){return"function"==typeof n}function r(r){if(n(r)||t(r))return r;throw new Error("The passed value is not Instertable.")}function e(n){if("function"==typeof n)return n;throw new Error("The passed value is not a Subscription.")}export{e as ensureSubscription,r as ensureValueInsertion,t as isDynamicInsertion,n as isStaticInsertion};
//# sourceMappingURL=insertion.js.map