18 lines
334 B
Swift
18 lines
334 B
Swift
//
|
|
// ignore.swift
|
|
// RxSwiftExt
|
|
//
|
|
// Created by Thane Gill on 18/04/16.
|
|
// Copyright © 2016 RxSwift Community. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import RxSwift
|
|
|
|
extension ObservableType where Element == Bool {
|
|
/// Boolean not operator
|
|
public func not() -> Observable<Bool> {
|
|
return self.map(!)
|
|
}
|
|
}
|