any

WebJar for any

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

any
WebJar for any
Ссылка на сайт

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

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

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

https://github.com/jonschlinkert/any

Скачать any

Имя Файла Размер
any-1.0.0.pom
any-1.0.0.jar 5 KB
any-1.0.0-sources.jar 22 bytes
any-1.0.0-javadoc.jar 22 bytes
Обзор

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.npm : for-own jar [0.1.2,0.2)
org.webjars.npm : make-iterator jar [0.1.0,0.2)

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

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

any NPM version Build Status

Returns true if a value exists in the given string, array or object.

  • if a callback is passed, checks to see if a truthy value is returned for any element in a collection or for any sub-string in a string.
  • returns as soon as it finds a passing value and does not iterate over the entire collection.

Install with npm

npm i any --save

Usage

var any = require('any');
any('a-b-c', 'a');
//=> true

any('a-b-c', 'd');
//=> false

any({a: 'b', c: 'd'}, 'a');
//=> true

any([{a: 'b', c: 'd'}], {a: 'b'});
//=> true

any('a-b-c', 'd');
//=> false

Running tests

Install dev dependencies.

npm i -d && npm test

Author

Jon Schlinkert

License

Copyright (c) 2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb on February 26, 2015.

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

Версия
1.0.0