UNPKG

@guruhotel/aura-hooks

Version:

🪝 Hooks library designed by the Guruhotel team for Aura UI

1 lines 232 B
import{isBrowser as t}from"../../use-ssr/use-ssr";export const isFunction=t=>"function"==typeof t;export function getTargetElement(r,e){if(!t)return;if(!r)return e;let n;return n="function"==typeof r?r():"current"in r?r.current:r,n}