source: trip-planner-front/node_modules/rxjs/src/internal/util/not.ts@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 259 bytes
Line 
1export 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.