提交 d8d73c00 编写于 作者: M Matt Bierner

Remove unused not function

上级 40a3c1fc
......@@ -5,11 +5,6 @@
'use strict';
export function not<A>(fn: (a: A) => boolean): (a: A) => boolean;
export function not(fn: Function): Function {
return (...args) => !fn(...args);
}
export function once<T extends Function>(this: any, fn: T): T {
const _this = this;
let didCall = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册