is-callable

WebJar for is-callable

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

1.1.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/ljharb/is-callable

Скачать is-callable

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

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

Зависимости

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

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

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

is-callable Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

browser support

Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.

Example

var isCallable = require('is-callable');
var assert = require('assert');

assert.notOk(isCallable(undefined));
assert.notOk(isCallable(null));
assert.notOk(isCallable(false));
assert.notOk(isCallable(true));
assert.notOk(isCallable([]));
assert.notOk(isCallable({}));
assert.notOk(isCallable(/a/g));
assert.notOk(isCallable(new RegExp('a', 'g')));
assert.notOk(isCallable(new Date()));
assert.notOk(isCallable(42));
assert.notOk(isCallable(NaN));
assert.notOk(isCallable(Infinity));
assert.notOk(isCallable(new Number(42)));
assert.notOk(isCallable('foo'));
assert.notOk(isCallable(Object('foo')));

assert.ok(isCallable(function () {}));
assert.ok(isCallable(function* () {}));
assert.ok(isCallable(x => x * x));

Install

Install with

npm install is-callable

Tests

Simply clone the repo, npm install, and run npm test

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

Версия
1.1.3