require-coercible-to-string-x

WebJar for require-coercible-to-string-x

Лицензия

Лицензия

MIT
Группа

Группа

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

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

require-coercible-to-string-x
Последняя версия

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

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

require-coercible-to-string-x
WebJar for require-coercible-to-string-x
Ссылка на сайт

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

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

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

https://github.com/Xotic750/require-coercible-to-string-x

Скачать require-coercible-to-string-x

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.npm : require-object-coercible-x jar [1.4.3,2)
org.webjars.npm : to-string-x jar [1.4.5,2)

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

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

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

require-coercible-to-string-x

Requires an argument is corecible then converts using ToString.

Version: 1.0.2
Author: Xotic750 Xotic750@gmail.com
License: MIT
Copyright: Xotic750

module.exports(value)string

This method requires an argument is corecible then converts using ToString.

Kind: Exported function
Returns: string - The value as a string.
Throws:

  • TypeError If value is null or undefined.
Param Type Description
value * The value to converted to a string.

Example

import requireCoercibleToString from 'require-coercible-to-string-x';

requireCoercibleToString(); // TypeError
requireCoercibleToString(null); // TypeError
requireCoercibleToString(Symbol('')); // TypeError
requireCoercibleToString(Object.create(null)); // TypeError
console.log(requireCoercibleToString(1)); // '1'
console.log(requireCoercibleToString(true)); // 'true'

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

Версия
1.0.2
1.0.0