is-function

WebJar for is-function

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/grncdr/js-is-function

Скачать is-function

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

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

Зависимости

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

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

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

is-function

browser support

Is that thing a function? Use this module to find out.

API

module.exports = function isFunction(fn) -> Boolean

Return true if fn is a function, otherwise false.

Why not typeof fn === 'function'

Because certain old browsers misreport the type of RegExp objects as functions.

Acknowledgements

I stole this from https://github.com/ljharb/object-keys

License

MIT

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

Версия
1.0.2
1.0.1
1.0.0