mongez-supportive-is-primitives
CommunityDefine primitive type predicates.
Authorhassanzohdy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Documents the six primitive and numeric predicates isString, isNumeric, isInt, isFloat, isPrimitive, and isScalar including their semantics, edge cases, and known bugs to help developers reason about type checks without relying on ad-hoc typeof checks.
Core Features & Use Cases
- Clear semantics for each predicate: isString, isNumeric, isInt, isFloat, isPrimitive, isScalar.
- Explanations of edge cases (wrapper objects, numeric strings, NaN/Infinity, symbols, null, undefined) and practical pitfalls when validating data in JavaScript/TypeScript.
- Guidance for type narrowing and input validation across dynamic and statically-typed codebases.
Quick Start
Import the predicates from @mongez/supportive-is and apply them to validate common values in your codebase.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mongez-supportive-is-primitives Download link: https://github.com/hassanzohdy/supportive-is/archive/main.zip#mongez-supportive-is-primitives Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.