getAll(_:as:)
Return parameter with specified id as a certain type
func getAll<T>(_ s: String, as: T.Type) -> [T] where T : RawRepresentable, T.RawValue == String Return parameter with specified id as a certain type
func getAll<T>(_ s: String, as: T.Type) -> [T] where T : RawRepresentable, T.RawValue == String s15HummingbirdCore14FlatDictionaryV0A0SsRszSsRs_rlE6getAll_2asSayqd__GSS_qd__mtSYRd__SS8RawValueRtd__lF What are these?261Y8import HummingbirdCoreimport Hummingbirdstruct FlatDictionary<Key, Value> where Key : HashableProvides Dictionary like indexing, but uses a flat array of key value pairs, plus an array of hash keys for lookup for storage.
@frozen struct StringA Unicode string value that is a collection of characters.
protocol RawRepresentable<RawValue>A type that can be converted to and from an associated raw value.
associatedtype RawValueThe raw type that can be used to represent all values of the conforming type.
@frozen struct SubstringA slice of a string.
static let recursiveCaptureKey: Substringfunc get(_ s: String) -> String? Return parameter with specified id
func get(_ s: String, as: UUID.Type) -> UUID? Return parameter with specified id as a certain type
func get<T>(_ s: String, as: T.Type) -> T? where T : RawRepresentable, T.RawValue == String Return parameter with specified id as a certain type
func get<T>(_ s: String, as: T.Type) -> T? where T : LosslessStringConvertible Return parameter with specified id as a certain type
func getAll(_ s: String) -> [String] Return parameter with specified id as a certain type
func getAll(_ s: String, as: UUID.Type) -> [UUID] Return parameter with specified id as a certain type
func getAll<T>(_ s: String, as: T.Type) -> [T] where T : LosslessStringConvertible Return parameter with specified id as a certain type
func getCatchAll() -> [Substring] Return path elements caught by recursive capture
func require(_ s: String) throws -> String Return parameter with specified id
func require(_ s: String, as: UUID.Type) throws -> UUID Return parameter with specified id as a certain type
func require<T>(_ s: String, as: T.Type) throws -> T where T : RawRepresentable, T.RawValue == String Return parameter with specified id as a certain type
func require<T>(_ s: String, as: T.Type) throws -> T where T : LosslessStringConvertible Return parameter with specified id as a certain type
func requireAll(_ s: String, as: UUID.Type) throws -> [UUID] Return parameter with specified id as a certain type
func requireAll<T>(_ s: String, as: T.Type) throws -> [T] where T : RawRepresentable, T.RawValue == String Return parameter with specified id as a certain type
func requireAll<T>(_ s: String, as: T.Type) throws -> [T] where T : LosslessStringConvertible Return parameter with specified id as a certain type
mutating func setCatchAll(_ value: Substring) Set path components caught by recursive capture