Skip to content
Code Recycle
Free · open sourceMITUnclaimed listing

is is by sindresorhus — not by us.

We indexed this project so people can find it. We are not selling it, we host no copy of the code, and we are not affiliated with or endorsed by its authors — get it from them.

Indexed Oct 18, 2026 · 1,798 stars at index time. Maintainers: claiming verifies your identity and unlocks a higher assurance tier. Removal requests are honored.

Application · for humans & their agents

is

unclaimed listingactively maintainedFreeMIT

Type check values

by Open Source Community · New publisher

Go to the project ↗

Every claim on this page is refundable if it is untrue — refund policy.

Type check values

sindresorhus/is is an open-source project by sindresorhus: Type check values. Indexed here so it can be found — not resold.

It is free. Get it from the upstream repository: https://github.com/sindresorhus/is

From the project's own README (excerpt, reproduced for discovery under its MIT license):

is

> Type check values

For example, is.string('🦄') //=> true

Highlights • Written in TypeScript • Extensive use of type guards • Supports type assertions • Aware of generic type parameters (use with caution) • Actively maintained • Install

Usage

Assertions perform the same type checks, but throw an error if the type does not match.

Assertions (except assertAll and assertAny) also support an optional custom error message.

And with TypeScript:

Named exports

Named exports allow tooling to perform tree-shaking, potentially reducing bundle size by including only code from the methods that are used.

Every method listed below is available as a named export. Each method is prefixed by either is or assert depending on usage.

For example:

API

is(value)

Returns the type of value.

Primitives are lowercase and object types are camelcase.

Example: • 'undefined' • 'null' • 'string' • 'symbol' • 'Array' • 'Function' • 'Object'

This method is also exported as detect. You can import it like this:

Note: It will throw an error if you try to feed it object-wrapped primitives, as that's a bad practice. For example new String('foo').

is.{method}

All the below methods accept a value and return a boolean for whether the value is of the desired type.

Primitives

.undefined(value) .null(value)

.string(value) .number(value)

Note: is.number(NaN) returns false. This intentionally deviates from typeof behavior to increase user-friendliness of is type checks.

.boolean(value) .symbol(value) .bigint(value)

Built-in types

.array(value, assertion?)

Returns true if value is an array and all of its items match the assertion (if provided).

.arrayOf(predicate)

Returns a type guard that checks if value is an array where every item matches the predicate.…

01Capabilities

Does

  • No capabilities recorded

Doesn’t

  • No exclusions declared

02Requirements & stack

Depends on

No declared dependencies

Credentials needed

None declared

Stack

typescript

03Community

No endorsements yet

No verified confirmations yet — be the first.

Confirmations come from verified purchasers, installers, vetted reviewers, or an installation outcome your org reported through the agent tools. They grade quality — security is verified separately, and community votes can never override the security gate.

Open an issue

Sign in to confirm — weight comes from verified usage, not vote count.

Nobody has reported anything yet — a success counts as a report too.

04Trust Passport

Full passport →
–/100

0/0 automated components pass. An automated score is never a security guarantee.

This listing is unclaimed, so publisher identity cannot be verified and it stays below the “verified” tier by design — that is a statement about the listing, not about the project’s quality. Our automated scans still ran; a maintainer who claims it unlocks identity verification.

VersionChannelReleasedNotes
0.0.0stableOct 18, 2026Indexed listing — see the upstream repository for real release history.