@@ -636,7 +636,7 @@ defmodule Kernel do
636
636
end
637
637
638
638
@ doc """
639
- Returns `true` if `term` is an atom; otherwise returns `false`.
639
+ Returns `true` if `term` is an atom, otherwise returns `false`.
640
640
641
641
Allowed in guard tests. Inlined by the compiler.
642
642
@@ -662,7 +662,7 @@ defmodule Kernel do
662
662
end
663
663
664
664
@ doc """
665
- Returns `true` if `term` is a binary; otherwise returns `false`.
665
+ Returns `true` if `term` is a binary, otherwise returns `false`.
666
666
667
667
A binary always contains a complete number of bytes.
668
668
@@ -683,7 +683,7 @@ defmodule Kernel do
683
683
end
684
684
685
685
@ doc """
686
- Returns `true` if `term` is a bitstring (including a binary); otherwise returns `false`.
686
+ Returns `true` if `term` is a bitstring (including a binary), otherwise returns `false`.
687
687
688
688
Allowed in guard tests. Inlined by the compiler.
689
689
@@ -703,7 +703,7 @@ defmodule Kernel do
703
703
704
704
@ doc """
705
705
Returns `true` if `term` is either the atom `true` or the atom `false` (i.e.,
706
- a boolean); otherwise returns `false`.
706
+ a boolean), otherwise returns `false`.
707
707
708
708
Allowed in guard tests. Inlined by the compiler.
709
709
@@ -726,7 +726,7 @@ defmodule Kernel do
726
726
end
727
727
728
728
@ doc """
729
- Returns `true` if `term` is a floating-point number; otherwise returns `false`.
729
+ Returns `true` if `term` is a floating-point number, otherwise returns `false`.
730
730
731
731
Allowed in guard tests. Inlined by the compiler.
732
732
"""
@@ -737,7 +737,7 @@ defmodule Kernel do
737
737
end
738
738
739
739
@ doc """
740
- Returns `true` if `term` is a function; otherwise returns `false`.
740
+ Returns `true` if `term` is a function, otherwise returns `false`.
741
741
742
742
Allowed in guard tests. Inlined by the compiler.
743
743
@@ -777,7 +777,7 @@ defmodule Kernel do
777
777
end
778
778
779
779
@ doc """
780
- Returns `true` if `term` is an integer; otherwise returns `false`.
780
+ Returns `true` if `term` is an integer, otherwise returns `false`.
781
781
782
782
Allowed in guard tests. Inlined by the compiler.
783
783
"""
@@ -788,7 +788,7 @@ defmodule Kernel do
788
788
end
789
789
790
790
@ doc """
791
- Returns `true` if `term` is a list with zero or more elements; otherwise returns `false`.
791
+ Returns `true` if `term` is a list with zero or more elements, otherwise returns `false`.
792
792
793
793
Allowed in guard tests. Inlined by the compiler.
794
794
"""
@@ -811,7 +811,7 @@ defmodule Kernel do
811
811
end
812
812
813
813
@ doc """
814
- Returns `true` if `term` is a PID (process identifier); otherwise returns `false`.
814
+ Returns `true` if `term` is a PID (process identifier), otherwise returns `false`.
815
815
816
816
Allowed in guard tests. Inlined by the compiler.
817
817
"""
@@ -822,7 +822,7 @@ defmodule Kernel do
822
822
end
823
823
824
824
@ doc """
825
- Returns `true` if `term` is a port identifier; otherwise returns `false`.
825
+ Returns `true` if `term` is a port identifier, otherwise returns `false`.
826
826
827
827
Allowed in guard tests. Inlined by the compiler.
828
828
"""
@@ -833,7 +833,7 @@ defmodule Kernel do
833
833
end
834
834
835
835
@ doc """
836
- Returns `true` if `term` is a reference; otherwise returns `false`.
836
+ Returns `true` if `term` is a reference, otherwise returns `false`.
837
837
838
838
Allowed in guard tests. Inlined by the compiler.
839
839
"""
@@ -844,7 +844,7 @@ defmodule Kernel do
844
844
end
845
845
846
846
@ doc """
847
- Returns `true` if `term` is a tuple; otherwise returns `false`.
847
+ Returns `true` if `term` is a tuple, otherwise returns `false`.
848
848
849
849
Allowed in guard tests. Inlined by the compiler.
850
850
"""
@@ -882,7 +882,7 @@ defmodule Kernel do
882
882
end
883
883
884
884
@ doc """
885
- Returns `true` if `key` is a key in `map`; otherwise returns `false`.
885
+ Returns `true` if `key` is a key in `map`, otherwise returns `false`.
886
886
887
887
It raises `BadMapError` if the first element is not a map.
888
888
@@ -1905,7 +1905,7 @@ defmodule Kernel do
1905
1905
@ doc """
1906
1906
Strictly boolean "or" operator.
1907
1907
1908
- If `left` is `true`, returns `true`; otherwise returns `right`.
1908
+ If `left` is `true`, returns `true`, otherwise returns `right`.
1909
1909
1910
1910
Requires only the `left` operand to be a boolean since it short-circuits.
1911
1911
If the `left` operand is not a boolean, a `BadBooleanError` exception is
@@ -1937,7 +1937,7 @@ defmodule Kernel do
1937
1937
@ doc """
1938
1938
Strictly boolean "and" operator.
1939
1939
1940
- If `left` is `false`, returns `false`; otherwise returns `right`.
1940
+ If `left` is `false`, returns `false`, otherwise returns `right`.
1941
1941
1942
1942
Requires only the `left` operand to be a boolean since it short-circuits. If
1943
1943
the `left` operand is not a boolean, a `BadBooleanError` exception is raised.
@@ -2503,7 +2503,7 @@ defmodule Kernel do
2503
2503
end
2504
2504
2505
2505
@ doc """
2506
- Returns `true` if `term` is a struct; otherwise returns `false`.
2506
+ Returns `true` if `term` is a struct, otherwise returns `false`.
2507
2507
2508
2508
Allowed in guard tests.
2509
2509
@@ -2539,7 +2539,7 @@ defmodule Kernel do
2539
2539
end
2540
2540
2541
2541
@ doc """
2542
- Returns `true` if `term` is a struct of `name`; otherwise returns `false`.
2542
+ Returns `true` if `term` is a struct of `name`, otherwise returns `false`.
2543
2543
2544
2544
`is_struct/2` does not check that `name` exists and is a valid struct.
2545
2545
If you want such validations, you must pattern match on the struct
@@ -2629,7 +2629,7 @@ defmodule Kernel do
2629
2629
end
2630
2630
2631
2631
@ doc """
2632
- Returns `true` if `term` is an exception; otherwise returns `false`.
2632
+ Returns `true` if `term` is an exception, otherwise returns `false`.
2633
2633
2634
2634
Allowed in guard tests.
2635
2635
@@ -2667,7 +2667,7 @@ defmodule Kernel do
2667
2667
end
2668
2668
2669
2669
@ doc """
2670
- Returns `true` if `term` is an exception of `name`; otherwise returns `false`.
2670
+ Returns `true` if `term` is an exception of `name`, otherwise returns `false`.
2671
2671
2672
2672
Allowed in guard tests.
2673
2673
@@ -5529,7 +5529,7 @@ defmodule Kernel do
5529
5529
end
5530
5530
5531
5531
# Calls to Kernel functions must be fully-qualified to ensure
5532
- # reproducible builds; otherwise, this macro will generate ASTs
5532
+ # reproducible builds, otherwise, this macro will generate ASTs
5533
5533
# with different metadata (:import, :context) depending on if
5534
5534
# it is the bootstrapped version or not.
5535
5535
Elixir.Kernel . @ ( impl ( true ) )
0 commit comments