UNPKG
@kickscondor/umbrellajs
Version:
latest (3.1.2)
3.1.2
3.1.1
Lightweight and intuitive javascript library
umbrellajs.com
kickscondor/umbrella
@kickscondor/umbrellajs
/
src
/
plugins
/
not
/
not.js
7 lines
(6 loc)
•
176 B
JavaScript
View Raw
1
2
3
4
5
6
7
// Delete all of the nodes that equals the filter
u.
prototype
.
not
=
function
(
filter
) {
return
this
.
filter
(
function
(
node
) {
return
!
u
(node).
is
(filter ||
true
); }); };