mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Add some symmetry.
This commit is contained in:
parent
f33adc7e6e
commit
8706ff0c92
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ end
|
|||
|
||||
## `never` type
|
||||
|
||||
`never` is the _dual_ of `unknown`, meaning that there doesn't exist a value that inhabits the type `never`. `never` is useful in many scenarios, and one such use case is when type refinements proves it impossible:
|
||||
`never` is also said to be the _bottom_ type, meaning there doesn't exist a value that inhabits the type `never`. In fact, it is the _dual_ of `unknown`. `never` is useful in many scenarios, and one such use case is when type refinements proves it impossible:
|
||||
|
||||
```lua
|
||||
local x = unknown()
|
||||
|
|
Loading…
Add table
Reference in a new issue