18 lines
371 B
Swift
18 lines
371 B
Swift
//
|
|
// not+RxCocoa.swift
|
|
// RxSwiftExt
|
|
//
|
|
// Created by Rafael Ferreira on 3/7/17.
|
|
// Copyright © 2017 RxSwift Community. All rights reserved.
|
|
//
|
|
|
|
import RxCocoa
|
|
import RxSwift
|
|
|
|
extension SharedSequenceConvertibleType where Element == Bool {
|
|
/// Boolean not operator.
|
|
public func not() -> SharedSequence<SharingStrategy, Bool> {
|
|
return map(!)
|
|
}
|
|
}
|