Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cond(
- [isString(dom), of(document.querySelectorAll(dom))],
- [and(isDom(dom), () => !!selector), of(dom.querySelectorAll(selector))],
- [isDom(dom), curry2(select)(dom)],
- [always(true), wrongType]
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement