ExpressibleByNullLiteral

public protocol ExpressibleByNullLiteral

Protocol for types that accept the null literal.

Optional[T] is the canonical conformer; it produces .None. Types that wrap an optional or have a meaningful "absent" state may also conform.

Initializers

init()

Builds the absent/none instance.

Defined in lang/std/core/literals.ks