Skip to content

Commit 3aeb3ec

Browse files
rfourquetStefanKarpinski
authored andcommitted
isdisjoint: add NEWS and include in the docs (#34460)
1 parent 46a98ad commit 3aeb3ec

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Build system changes
2323
New library functions
2424
---------------------
2525

26+
* The new `isdisjoint` function indicates whether two collections are disjoint ([#34427]).
2627

2728
New library features
2829
--------------------

base/abstractset.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ end
381381
"""
382382
isdisjoint(v1, v2) -> Bool
383383
384-
Returns whether the collections `v1` and `v2` are disjoint, i.e. whether
384+
Return whether the collections `v1` and `v2` are disjoint, i.e. whether
385385
their intersection is empty.
386386
387387
!!! compat "Julia 1.5"

doc/src/base/collections.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ Base.issubset
251251
Base.:⊈
252252
Base.:⊊
253253
Base.issetequal
254+
Base.isdisjoint
254255
```
255256

256257
Fully implemented by:

0 commit comments

Comments
 (0)