index.js
function is(obj, name) {
  if (typeof name !== 'string') {
    throw new TypeError('expected name to be a string');
  }
  utils.define(obj, 'is' + utils.pascal(name), true);
  utils.define(obj, '_name', name);
}
function is(obj, name) {
  if (typeof name !== 'string') {
    throw new TypeError('expected name to be a string');
  }
  utils.define(obj, 'is' + utils.pascal(name), true);
  utils.define(obj, '_name', name);
}
function is ( obj , name ) { if ( typeof name !== 'string' ) { throw new TypeError ( 'expected name to be a string' ) ; } utils . define ( obj , 'is' + utils . pascal ( name ) , true ) ; utils . define ( obj , '_name' , name ) ; }
Set the name and type of object.
Set the name and type of object .