UNPKG

react-beautiful-dnd

Version:

Beautiful and accessible drag and drop for lists with React

7 lines (5 loc) • 189 B
// @flow import getWindowFromEl from '../window/get-window-from-el'; export default function isElement(el: Object): boolean %checks { return el instanceof getWindowFromEl(el).Element; }