is-date-object

WebJar for is-date-object

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/ljharb/is-date-object

Скачать is-date-object

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

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

Зависимости

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

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

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

is-date-object Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

browser support

Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

Example

var isDate = require('is-date-object');
var assert = require('assert');

assert.notOk(isDate(undefined));
assert.notOk(isDate(null));
assert.notOk(isDate(false));
assert.notOk(isDate(true));
assert.notOk(isDate(42));
assert.notOk(isDate('foo'));
assert.notOk(isDate(function () {}));
assert.notOk(isDate([]));
assert.notOk(isDate({}));
assert.notOk(isDate(/a/g));
assert.notOk(isDate(new RegExp('a', 'g')));

assert.ok(isDate(new Date()));

Tests

Simply clone the repo, npm install, and run npm test

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

Версия
1.0.1