UNPKG

robb

Version:

Simple type checker in JavaScript.

14 lines (11 loc) 233 B
// Load ‘Robb.js’ var Robb = require('../src/robb.js'); /** * Test ‘isRegExp’ * * @param {object} test */ exports.isRegExp = function(test) { test.strictEqual( Robb.isRegExp( new RegExp() ), true ); test.done(); };