Skip to content

Instance Method

get(_:)

Get the value of the given key if it exists and is of the proper type.
func get<Key>(_ key: Key.Type) -> Key.Value? where Key : StorageKey