Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8390892
disjoint.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
404 B
Subscribers
None
disjoint.js
View Options
import
{
InternSet
}
from
"internmap"
;
export
default
function
disjoint
(
values
,
other
)
{
const
iterator
=
other
[
Symbol
.
iterator
](),
set
=
new
InternSet
();
for
(
const
v
of
values
)
{
if
(
set
.
has
(
v
))
return
false
;
let
value
,
done
;
while
(({
value
,
done
}
=
iterator
.
next
()))
{
if
(
done
)
break
;
if
(
Object
.
is
(
v
,
value
))
return
false
;
set
.
add
(
value
);
}
}
return
true
;
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Jun 4 2025, 6:36 PM (14 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3333804
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment