Functions
The following functions are available globally.
-
Equality operator for PlaceInfos
Parameters
lhsA PlaceInfo
rhsAnother PlaceInfo
Return Value
Whether they are equivalent
-
getMediaFromImagePickerInfo
Declaration
Swift
func getMediaFromImagePickerInfo(_ info: [String : Any]) -> Media?Parameters
infoDictionary
-
getMediaFromURL
Declaration
Swift
func getMediaFromURL(_ url: URL) -> Media?Parameters
urlURL
-
push
Declaration
Swift
func push<Item>(_ item: Item?) -> (((Item) -> Void) -> Void)?Parameters
itemItem
-
Throw error on unwrapping optional
Throws
UnwrapError if nilDeclaration
Swift
func unwrap<T>(_ optional: @autoclosure () -> T?, file: StaticString = #file, line: UInt = #line) throws -> TParameters
optionalThe Optional to unwrap
fileDiagnostic filename
lineDiagnostic line number
Return Value
Wrapped value
View on GitHub
Functions Reference