Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. public func apply<U>(f: (Wrapped -> U)?) -> U? {
  2. if let f = f {
  3. return self.map(f)
  4. } else {
  5. return nil
  6. }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement