import { Console } from "https://deno.land/x/deno@v0.28.0/cli/js/deno.ts";
Properties
Writes an error message to stdout if the assertion is false
. If the
assertion is true
, nothing happens.
Writes the properties of the supplied obj
to stdout
From MDN: Displays an interactive tree of the descendant elements of the specified XML/HTML element. If it is not possible to display as an element the JavaScript Object view is shown instead. The output is presented as a hierarchical listing of expandable nodes that let you see the contents of child nodes.
Since we write to stdout, we can't display anything interactive
we just fall back to console.dir
.
Static Methods
[Symbol.hasInstance](instance: Console): boolean