diff options
Diffstat (limited to 'node_modules/rxjs/src/internal/util/not.ts')
| -rw-r--r-- | node_modules/rxjs/src/internal/util/not.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/rxjs/src/internal/util/not.ts b/node_modules/rxjs/src/internal/util/not.ts new file mode 100644 index 0000000..5e5d7e2 --- /dev/null +++ b/node_modules/rxjs/src/internal/util/not.ts @@ -0,0 +1,3 @@ +export function not<T>(pred: (value: T, index: number) => boolean, thisArg: any): (value: T, index: number) => boolean { + return (value: T, index: number) => !pred.call(thisArg, value, index); +}
\ No newline at end of file |
