SplitScript reference / T?

T?

type constructor

T?

Represents a value that may be absent.

Write T? to make any value type optional.

Examples

Store an optional value

let possibleLevel: u32? = 4