added license
Some miscellaneous utilities and additions to collections.
Adds stringWithKey, intWithKey, doubleWithKey as dictionary subscripts. They do their best to coerce the dictionary value to the correct type.
stringWithKey
intWithKey
doubleWithKey
Adds some convenience methods which call on to merge(other, uniquingKeysWith: to either replace or keep all duplicate keys.
merge(other, uniquingKeysWith:
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
CollectionExtensions
Some miscellaneous utilities and additions to collections.
Dictionary+Coercion
Adds
stringWithKey
,intWithKey
,doubleWithKey
as dictionary subscripts. They do their best to coerce the dictionary value to the correct type.Dictionary+Merging
Adds some convenience methods which call on to
merge(other, uniquingKeysWith:
to either replace or keep all duplicate keys.