first commit
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
isを元にnot作成
|
||||
*/
|
||||
import is from './is.mjs';
|
||||
|
||||
const not = Object.create(null);
|
||||
|
||||
for(let [key, func] of Object.entries(is) ){
|
||||
not[key] = (...args)=>{
|
||||
return !func(...args);
|
||||
}
|
||||
}
|
||||
|
||||
export default not;
|
||||
Reference in New Issue
Block a user