diff --git a/Wabbajack.Common/Extensions/RxExt.cs b/Wabbajack.Common/Extensions/RxExt.cs index 8bf082d7..4457261b 100644 --- a/Wabbajack.Common/Extensions/RxExt.cs +++ b/Wabbajack.Common/Extensions/RxExt.cs @@ -168,5 +168,10 @@ namespace Wabbajack .Select(x => x as R) .NotNull(); } + + public static IObservable Invert(this IObservable source) + { + return source.Select(x => !x); + } } }