Swift Scalars - Return nil instead of default values?

The typed accessors are, ultimately, conveniences.

If you expect different possible types in an array, use the general-purpose valueAt, which returns Any?. Then do your own checking for nil or for the different types.