Last 12 weeks · 0 commits
4 of 6 standards met
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 .
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.