Code coverage report for template/lib/is-object.js

Statements: 100% (3 / 3)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (3 / 3)      Ignored: none     

All files » template/lib/ » is-object.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14    1                 1 741  
'use strict';
 
var typeOf = require('kind-of');
 
/**
 * Return `true` if `val` is an object
 *
 * @param  {*} `val`
 * @return {Boolean}
 */
 
module.exports = function isObject(val) {
  return typeOf(val) === 'object';
};