doc/option-types: Move nullOr to Union types

Changed files
+5 -5
nixos
doc
manual
+5 -5
nixos/doc/manual/development/option-types.section.md
···
`with types; oneOf [ int str bool ]`. Multiple definitions cannot be
merged.
+
`types.nullOr` *`t`*
+
+
: `null` or type *`t`*. Multiple definitions are merged according to
+
type *`t`*.
+
## Sum types {#sec-option-types-sums}
···
type of `foo.attr` was `lazyAttrsOf (nullOr int)`, `null` would be
returned instead for the same `mkIf false` definition.
:::
-
-
`types.nullOr` *`t`*
-
-
: `null` or type *`t`*. Multiple definitions are merged according to
-
type *`t`*.
`types.uniq` *`t`*