Final class FH\Uninhabited
Type with no inhabitants. Called Uninhabited
instead of the more well-known
Void
because Hack prohibits classes to be called Void
.
Instance methods
absurd<T>(): T
- Use this function where a value of some type other than
Uninhabited
is required. This function can never be called.