diff options
| author | ruki <waruqi@gmail.com> | 2018-11-08 00:43:05 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2018-11-07 22:18:30 +0800 |
| commit | 89e95b3f143682ed9a006991bacf45c9dcba4818 (patch) | |
| tree | 4f44cf41b828577d583890bdd5a1c31e8491a6ba /node_modules/is-obj | |
| parent | aa7f0199255277949790b41c56e8ec97dd4f0da4 (diff) | |
| download | xmake-docs-vuepress.tar.gz xmake-docs-vuepress.zip | |
remove node_modulesvuepress
Diffstat (limited to 'node_modules/is-obj')
| -rw-r--r-- | node_modules/is-obj/index.js | 5 | ||||
| -rw-r--r-- | node_modules/is-obj/license | 21 | ||||
| -rw-r--r-- | node_modules/is-obj/package.json | 33 | ||||
| -rw-r--r-- | node_modules/is-obj/readme.md | 34 |
4 files changed, 0 insertions, 93 deletions
diff --git a/node_modules/is-obj/index.js b/node_modules/is-obj/index.js deleted file mode 100644 index 4d023bc6..00000000 --- a/node_modules/is-obj/index.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; -module.exports = function (x) { - var type = typeof x; - return x !== null && (type === 'object' || type === 'function'); -}; diff --git a/node_modules/is-obj/license b/node_modules/is-obj/license deleted file mode 100644 index 654d0bfe..00000000 --- a/node_modules/is-obj/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/is-obj/package.json b/node_modules/is-obj/package.json deleted file mode 100644 index c441d272..00000000 --- a/node_modules/is-obj/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "is-obj", - "version": "1.0.1", - "description": "Check if a value is an object", - "license": "MIT", - "repository": "sindresorhus/is-obj", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=0.10.0" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "obj", - "object", - "is", - "check", - "test", - "type" - ], - "devDependencies": { - "ava": "*", - "xo": "*" - } -} diff --git a/node_modules/is-obj/readme.md b/node_modules/is-obj/readme.md deleted file mode 100644 index d3110264..00000000 --- a/node_modules/is-obj/readme.md +++ /dev/null @@ -1,34 +0,0 @@ -# is-obj [](https://travis-ci.org/sindresorhus/is-obj) - -> Check if a value is an object - -Keep in mind that array, function, regexp, etc, are objects in JavaScript.<br> -See [`is-plain-obj`](https://github.com/sindresorhus/is-plain-obj) if you want to check for plain objects. - - -## Install - -``` -$ npm install --save is-obj -``` - - -## Usage - -```js -const isObj = require('is-obj'); - -isObj({foo: 'bar'}); -//=> true - -isObj([1, 2, 3]); -//=> true - -isObj('foo'); -//=> false -``` - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) |
