PassedArgs
public enum PassedArgs
A type that represents either a type erased value or no value.
-
No arguments are passed forward.
Declaration
Swift
case none
-
The type erased value passed forward.
Declaration
Swift
case args(Any?)
-
Performs a coalescing operation, returning the type erased value of a
PassedArgs
instance or a default value.Declaration
Swift
public func extractArgs(defaultValue: Any?) -> Any?
Parameters
defaultValue
the default value to use if there are no args.
Return Value
type erased value of a
PassedArgs
instance or a default value.