is-extendable

WebJar for is-extendable

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bowergithub.jonschlinkert
Идентификатор

Идентификатор

is-extendable
Последняя версия

Последняя версия

0.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

is-extendable
WebJar for is-extendable
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/jonschlinkert/is-extendable

Скачать is-extendable

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.jonschlinkert/is-extendable/ -->
<dependency>
    <groupId>org.webjars.bowergithub.jonschlinkert</groupId>
    <artifactId>is-extendable</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jonschlinkert/is-extendable/
implementation 'org.webjars.bowergithub.jonschlinkert:is-extendable:0.1.1'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jonschlinkert/is-extendable/
implementation ("org.webjars.bowergithub.jonschlinkert:is-extendable:0.1.1")
'org.webjars.bowergithub.jonschlinkert:is-extendable:jar:0.1.1'
<dependency org="org.webjars.bowergithub.jonschlinkert" name="is-extendable" rev="0.1.1">
  <artifact name="is-extendable" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.jonschlinkert', module='is-extendable', version='0.1.1')
)
libraryDependencies += "org.webjars.bowergithub.jonschlinkert" % "is-extendable" % "0.1.1"
[org.webjars.bowergithub.jonschlinkert/is-extendable "0.1.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

is-extendable NPM version NPM monthly downloads NPM total downloads Linux Build Status

Returns true if a value is a plain object, array or function.

Install

Install with npm:

$ npm install --save is-extendable

Usage

var isExtendable = require('is-extendable');

Returns true if the value is any of the following:

  • array
  • plain object
  • function

Notes

All objects in JavaScript can have keys, but it's a pain to check for this, since we ether need to verify that the value is not null or undefined and:

  • the value is not a primitive, or
  • that the object is a plain object, function or array

Also note that an extendable object is not the same as an extensible object, which is one that (in es6) is not sealed, frozen, or marked as non-extensible using preventExtensions.

Release history

v1.0.0 - 2017/07/20

Breaking changes

  • No longer considers date, regex or error objects to be extendable

About

Related projects

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Building docs

(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)

To generate the readme, run the following command:

$ npm install -g verbose/verb#dev verb-generate-readme && verb

Running tests

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

$ npm install && npm test

Author

Jon Schlinkert

License

Copyright © 2017, Jon Schlinkert. Released under the MIT License.


This file was generated by verb-generate-readme, v0.6.0, on July 20, 2017.

Версии библиотеки

Версия
0.1.1