diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-11-08 12:26:20 -0500 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-11-08 12:26:20 -0500 |
| commit | 0c324a442ef4a296bd925972dfbe3fc94c60b256 (patch) | |
| tree | 4e325e06de647c9ee7859a47dd6deedb0662d53a /util.ts | |
| parent | a628a499fa7794ef421e814ae487635890af1cb3 (diff) | |
First pass at TextProtoReader.
Original: https://github.com/denoland/deno_std/commit/31ab43b9193a9107d965c991f17992fcee791b33
Diffstat (limited to 'util.ts')
| -rw-r--r-- | util.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,3 +1,5 @@ +import { Reader } from "deno"; + export function assert(cond: boolean, msg = "assert") { if (!cond) { throw Error(msg); |
