source:
trip-planner-front/node_modules/rxjs/src/internal/util/not.ts
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 259 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | export function not(pred: Function, thisArg: any): Function { |
2 | function notPred(): any { | |
3 | return !((<any> notPred).pred.apply((<any> notPred).thisArg, arguments)); | |
4 | } | |
5 | (<any> notPred).pred = pred; | |
6 | (<any> notPred).thisArg = thisArg; | |
7 | return notPred; | |
8 | } |
Note:
See TracBrowser
for help on using the repository browser.