GitShow/sindresorhus/is
sindresorhus

is

Type check values

by sindresorhus
assertionsisnode-modulenpm-packagetype-checktype-detectiontypescript
Star on GitHubForknpm

TypeScript

1.8k stars132 forks52 contributorsQuiet · 3mo agoSince 2017v8.1.0MIT

Meet the team

See all 52 on GitHub →
sindresorhus
sindresorhus159 contributions
bjornstar
bjornstar17 contributions
bndnsmth
bndnsmth8 contributions
marlun78
marlun784 contributions
SamVerschueren
SamVerschueren4 contributions
eugene-mohc
eugene-mohc3 contributions
itaisteinherz
itaisteinherz3 contributions
ltetzlaff
ltetzlaff3 contributions

Languages

View on GitHub →
TypeScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
enduity
Feature request: Add `assert.notUndefined`ClosedIssue

Thanks for maintaining this package. Following up on #52. While was rejected because works for predicates, assertions do not have the same escape hatch. This was also questioned earlier, but the original commenter did not open a new issue: https://github.com/sindresorhus/is/issues/52#issuecomment-1181346334 Example: Possible signature: Expected behavior: is not a viable alternative since it rejects valid falsy values like , , and . Using instead of also avoids the ambiguity discussed in #52. Side note:** and could also be useful. is verbose, but it avoids the ambiguity of names like or .

enduity · 3mo ago
noshiro-pf
Feature request: isDOMExceptionClosedIssue

Usage example:

noshiro-pf · 4mo ago
vladshcherbin
Add multiple predicates to `optional`ClosedIssue

Hey 👋 Would be nice to be able to use with multiple values, e.g.: Current workarounds, both look not so sleek: Thank you! @sindresorhus/is: 7.1.1

vladshcherbin · 8mo ago
Structured data for AI agents

Repository: sindresorhus/is. Description: Type check values Stars: 1791, Forks: 132. Primary language: TypeScript. Languages: TypeScript (100%). License: MIT. Topics: assertions, is, node-module, npm-package, type-check, type-detection, typescript. Latest release: v8.1.0 (3mo ago). Open PRs: 0, open issues: 0. Last activity: 3mo ago. Community health: 85%. Top contributors: sindresorhus, bjornstar, bndnsmth, marlun78, SamVerschueren, eugene-mohc, itaisteinherz, ltetzlaff, melvin0008, joelpurra and others.

·@ofershap

Replace github.com with gitshow.dev