nullable type (?)
Also written: string?
A type followed by `?`, such as `string?` or `MenuItem?`, marks that its value may be null.
Where the book teaches it
Related terms
null?. and ?? (null-conditional and null-coalescing operators)
Also written: string?
A type followed by `?`, such as `string?` or `MenuItem?`, marks that its value may be null.
null?. and ?? (null-conditional and null-coalescing operators)