to-boolean-x

WebJar for to-boolean-x

Лицензия

Лицензия

MIT
Группа

Группа

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

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

to-boolean-x
Последняя версия

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

1.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

to-boolean-x
WebJar for to-boolean-x
Ссылка на сайт

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

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

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

https://github.com/Xotic750/to-boolean-x

Скачать to-boolean-x

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

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

Зависимости

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

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

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

Travis status Dependency status devDependency status npm version jsDelivr hits bettercodehub score Coverage Status

to-boolean-x

Converts argument to a value of type Boolean.

module.exports(value)boolean

The abstract operation ToBoolean converts argument to a value of type Boolean.

Kind: Exported function
Returns: boolean - 'true' if value is truthy; otherwise 'false'.

Param Type Description
value * The value to be converted.

Example

import toBoolean from 'to-boolean-x';

console.log(toBoolean(null)); // false
console.log(toBoolean('')); // false
console.log(toBoolean(1)); // true
console.log(toBoolean('0')); // true

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

Версия
1.0.3
1.0.1