is-promise

WebJar for is-promise

Лицензия

Лицензия

MIT
Категории

Категории

Github Инструменты разработки Контроль версий
Группа

Группа

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

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

github-com-then-is-promise
Последняя версия

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

2.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/then/is-promise

Скачать github-com-then-is-promise

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

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

Зависимости

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

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

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

is-promise

Test whether an object looks like a promises-a+ promise

Build Status Dependency Status NPM version

Installation

$ npm install is-promise

You can also use it client side via npm.

API

import isPromise from 'is-promise';

isPromise(Promise.resolve());//=>true
isPromise({then:function () {...}});//=>true
isPromise(null);//=>false
isPromise({});//=>false
isPromise({then: true})//=>false

License

MIT

org.webjars.npm

then (Promises/A+ implementations)

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

Версия
2.1.0