You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
356 B
16 lines
356 B
//
|
|
// not+RxCocoa.swift
|
|
// RxSwiftExt
|
|
//
|
|
// Created by Rafael Ferreira on 3/7/17.
|
|
// Copyright © 2017 RxSwift Community. All rights reserved.
|
|
//
|
|
|
|
import RxCocoa
|
|
|
|
extension SharedSequenceConvertibleType where Element == Bool {
|
|
/// Boolean not operator.
|
|
public func not() -> SharedSequence<SharingStrategy, Bool> {
|
|
return map(!)
|
|
}
|
|
}
|