wrap assert
This commit is contained in:
parent
72f9691c67
commit
9bb5fbe18b
3
src/assert.ts
Normal file
3
src/assert.ts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export function assertBoolean(condition: boolean, ...data: any[]){
|
||||||
|
console.assert(condition,data);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user