File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -425,15 +425,15 @@ end
425
425
426
426
"""
427
427
allunique(itr) -> Bool
428
- allunique(f, xs)
428
+ allunique(f, itr) -> Bool
429
429
430
430
Return `true` if all values from `itr` are distinct when compared with [`isequal`](@ref).
431
- The second form takes `itr = ( f(x) for x in xs )`.
431
+ Or if all ` f(x) for x in itr` are distinct, for `allunique(f, itr )`.
432
432
433
433
See also: [`unique`](@ref), [`issorted`](@ref), [`allequal`](@ref).
434
434
435
435
!!! compat "Julia 1.10"
436
- The method `allunique(f, xs )` requires at least Julia 1.10.
436
+ The method `allunique(f, itr )` requires at least Julia 1.10.
437
437
438
438
# Examples
439
439
```jldoctest
@@ -520,18 +520,18 @@ end
520
520
521
521
"""
522
522
allequal(itr) -> Bool
523
- allequal(f, xs)
523
+ allequal(f, itr) -> Bool
524
524
525
525
Return `true` if all values from `itr` are equal when compared with [`isequal`](@ref).
526
- The second form takes `itr = ( f(x) for x in xs )`.
526
+ Or if all ` f(x) for x in itr` are equal, for `allequal(f, itr )`.
527
527
528
528
See also: [`unique`](@ref), [`allunique`](@ref).
529
529
530
530
!!! compat "Julia 1.8"
531
531
The `allequal` function requires at least Julia 1.8.
532
532
533
533
!!! compat "Julia 1.10"
534
- The method `allequal(f, xs )` requires at least Julia 1.10.
534
+ The method `allequal(f, itr )` requires at least Julia 1.10.
535
535
536
536
# Examples
537
537
```jldoctest
You can’t perform that action at this time.
0 commit comments