Built In Types: Introduction
This section covers the different built-in types available in Hack.
- Some types act as parent, container types, like num (
float) and arraykey (
- Others like mixed act as supertypes, or, like nothing, act as the complete opposite (no type).
- Similar to
nothing, null and nonnull are mutually exclusive to one another.
Though not built-in as types, other alternatives exist in Hack Collections.
Thank You! If you'd like to share more feedback, please file an issue.