mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
RxExt.Invert
This commit is contained in:
parent
197d2317f9
commit
bf9c315a2f
@ -168,5 +168,10 @@ namespace Wabbajack
|
|||||||
.Select(x => x as R)
|
.Select(x => x as R)
|
||||||
.NotNull();
|
.NotNull();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static IObservable<bool> Invert(this IObservable<bool> source)
|
||||||
|
{
|
||||||
|
return source.Select(x => !x);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user