diff options
Diffstat (limited to 'io/util.ts')
| -rw-r--r-- | io/util.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/io/util.ts b/io/util.ts index 811940b4d..3266e5018 100644 --- a/io/util.ts +++ b/io/util.ts @@ -1,11 +1,5 @@ import { Buffer, Reader } from "deno"; -export function assert(cond: boolean, msg = "assert") { - if (!cond) { - throw Error(msg); - } -} - // `off` is the offset into `dst` where it will at which to begin writing values // from `src`. // Returns the number of bytes copied. |
