Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public func apply<U>(f: (Wrapped -> U)?) -> U? {
- if let f = f {
- return self.map(f)
- } else {
- return nil
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement