-val-n-msg-">assert.length(val, n[, msg])</h3>

<p>Assert that the given <em>val</em> has a length of <em>n</em>.</p>

<pre><code>assert.length([1,2,3], 3);
assert.length('foo', 3);
</code></pre>

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

<p>Assert that the given <em>obj</em> is typeof <em>type</em>.</p>

<pre><code>assert.type(3, 'number');
</code></pre>

<h3 id="assert-eql-a-b-msg-">assert.eql(a, b[, msg])</h3>

<p>Assert that object <em>b</em> is equal to object <em>a</em>. T