wrap assert

This commit is contained in:
monoid 2021-10-09 20:46:49 +09:00
parent 72f9691c67
commit 9bb5fbe18b

3
src/assert.ts Normal file
View File

@ -0,0 +1,3 @@
export function assertBoolean(condition: boolean, ...data: any[]){
console.assert(condition,data);
}