UNPKG

@gitlab/ui

Version:
4 lines (2 loc) • 128 B
const getInstanceFromDirective = (vnode, bindings) => bindings.instance || vnode.context; export { getInstanceFromDirective };