ed(undefined);
</code></pre>

<h3 id="assert-isDefined-val-msg-">assert.isDefined(val[, msg])</h3>

<p>Asserts that the given <em>val</em> is not <em>undefined</em>.</p>

<pre><code>assert.isDefined(null);
assert.isDefined(false);
</code></pre>

<h3 id="assert-match-str-regexp-msg-">assert.match(str, regexp[, msg])</h3>

<p>Asserts that the given <em>str</em> matches <em>regexp</em>.</p>

<pre><code>assert.match('foobar', /^foo(bar)?/);
assert.match('foo', /^foo(bar)?/);
</code></pre>

<h3 id="assert-length