You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Writerside/topics/language/logical-types.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
3
3
<show-structurefor="chapter"depth="2"/>
4
4
5
-
The TypeLang, [like PHP](https://www.php.net/manual/en/language.types.type-system.php#language.types.type-system.composite), supports two types of composite (logical)
6
-
types: Union and Intersection. The ability to specify a _nullable_ type using a
5
+
The TypeLang, [like PHP](https://www.php.net/manual/en/language.types.type-system.php#language.types.type-system.composite), supports two types of composite (logical) types:
6
+
Union and Intersection. The ability to specify a _nullable_ type using a
7
7
separate expression is also supported.
8
8
9
9
### Union Type
@@ -28,7 +28,8 @@ contain any other type definition.
28
28
29
29
### Nullable Type
30
30
31
-
Nullable type is a shortened alias for union type `T|null` and is written as `?T.`
31
+
Nullable type is a shortened alias for union type `T|null`
0 commit comments