component-type

WebJar for component-type

Лицензия

Лицензия

MIT
Группа

Группа

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

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

component-type
Последняя версия

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

1.2.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

component-type
WebJar for component-type
Ссылка на сайт

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

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

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

https://github.com/component/type

Скачать component-type

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

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

Зависимости

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

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

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

type

Type assertions aka less-broken typeof.

Example

var type = require('type');

var obj = new Date;
if (type(obj) == 'date') ...

API

type(new Date) == 'date'
type({}) == 'object'
type(null) == 'null'
type(undefined) == 'undefined'
type("hey") == 'string'
type(true) == 'boolean'
type(false) == 'boolean'
type(12) == 'number'
type(type) == 'function'
type(/asdf/) == 'regexp'
type((function(){ return arguments })()) == 'arguments'
type([]) == 'array'
type(document.createElement('div')) == 'element'
type(NaN) == 'nan'
type(new Error('Ups! Something wrong...')) == 'error'
type(new Buffer) == 'buffer'

License

MIT

org.webjars.npm

Components

modular components for component

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

Версия
1.2.1