Logical Types

Edit pageLast modified: 02 February 2025

The TypeLang, like PHP, supports two types of composite (logical) types: Union and Intersection. The ability to specify a nullable type using a separate expression is also supported.