listenerToNode = value => {
  if (value instanceof DocumentFragment) {
    return Array.from(value.childNodes);
  }

  const element = document.createDocumentFragment();
  Object(_appendChildren__WEBPACK_IMPORTED_MODULE_0__["default"])(element, Object(_ensureArray__WEBPACK_IMPORTED_MODULE_1__["default"])(value));
  return listenerToNode(element);
}
@param {*} value - Value of the listener
@returns {Node[]}