wrap assert
This commit is contained in:
parent
72f9691c67
commit
9bb5fbe18b
1 changed files with 3 additions and 0 deletions
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…
Add table
Reference in a new issue