项目原始demo,不改动
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

13 lines
288 B

  1. /*!
  2. * isobject <https://github.com/jonschlinkert/isobject>
  3. *
  4. * Copyright (c) 2014-2017, Jon Schlinkert.
  5. * Released under the MIT License.
  6. */
  7. 'use strict';
  8. module.exports = function isObject(val) {
  9. return val != null && typeof val === 'object' && Array.isArray(val) === false;
  10. };