Skip to content

Dictionary

A mutable Dictionary<K,V> with invariant key/value types.

Choose the type in a Variable/parameter/field type picker. Supply the exact element/key/value/class/Target declaration when prompted. Use the nullable flag only when absence is part of the intended model.

Dictionary<String,Number>

Keys are non-null primitive or identity types. Lists/dictionaries cannot be keys. Check for missing keys and match exact declarations.

Required inputs must be assigned and type-compatible. Nullable values require compatible nullable inputs or coalescing. Collection declarations remain invariant; native Targets and custom classes follow their supported inheritance rules. Final controls a binding, not deep immutability.

Variables · Arguments · Collections · Classes · Expressions