Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
sindresorhus
/
is
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
133
Star
1.8k
Code
Issues
0
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Commits
Branch selector
main
User selector
All users
Datepicker
All time
Commit history
Commits on May 11, 2026
Fix CI
sindresorhus
committed
7821031
View commit details
Copy full SHA for 7821031
Browse repository at this point
8.1.0
sindresorhus
committed
a439305
View commit details
Copy full SHA for a439305
Browse repository at this point
Add negative assertion helper
Show description for 2d4956e
sindresorhus
committed
2d4956e
View commit details
Copy full SHA for 2d4956e
Browse repository at this point
Commits on Apr 9, 2026
8.0.0
sindresorhus
committed
48df5c4
View commit details
Copy full SHA for 48df5c4
Browse repository at this point
Fix some type guards
sindresorhus
committed
13febb6
View commit details
Copy full SHA for 13febb6
Browse repository at this point
Fix `isEnumCase` incorrectly accepting numeric enum key names
sindresorhus
committed
cb4ee0e
View commit details
Copy full SHA for cb4ee0e
Browse repository at this point
Commits on Apr 8, 2026
Add `negativeInteger`, `nonNegativeInteger`, `arrayOf`, and `oneOf` predicates
sindresorhus
committed
54fc094
View commit details
Copy full SHA for 54fc094
Browse repository at this point
Add `finiteNumber`, `nonNegativeNumber`, and `positiveInteger` predicates
sindresorhus
committed
63be5c0
View commit details
Copy full SHA for 63be5c0
Browse repository at this point
Fix `isInRange` silently returning false when range contains `NaN`
sindresorhus
committed
ac46b54
View commit details
Copy full SHA for ac46b54
Browse repository at this point
Commits on Apr 7, 2026
Fix `isNumericString` incorrectly accepting strings with surrounding whitespace
sindresorhus
committed
47415dc
View commit details
Copy full SHA for 47415dc
Browse repository at this point
Fix handling of functions and arrays in `isEmptyObject` and `isNonEmptyObject`
sindresorhus
committed
3b40955
View commit details
Copy full SHA for 3b40955
Browse repository at this point
Require Node.js 22
sindresorhus
committed
faf7003
View commit details
Copy full SHA for faf7003
Browse repository at this point
Commits on Dec 27, 2025
7.2.0
sindresorhus
committed
eff8e6b
View commit details
Copy full SHA for eff8e6b
Browse repository at this point
Add predicate factory mode to `is.any` and `is.all`
Show description for 9bdcd9b
sindresorhus
committed
9bdcd9b
View commit details
Copy full SHA for 9bdcd9b
Browse repository at this point
Commits on Oct 31, 2025
7.1.1
sindresorhus
committed
fbcc68e
View commit details
Copy full SHA for fbcc68e
Browse repository at this point
Fix `is.class` for minified class expression (#217)
tgriesser
authored
e7c84fc
View commit details
Copy full SHA for e7c84fc
Browse repository at this point
Commits on Sep 13, 2025
7.1.0
sindresorhus
committed
d22ab62
View commit details
Copy full SHA for d22ab62
Browse repository at this point
Add `is.optional` and `assert.optional`
Show description for 1f2440a
sindresorhus
committed
1f2440a
View commit details
Copy full SHA for 1f2440a
Browse repository at this point
Commits on Sep 11, 2025
Fix TypeScript type narrowing issue with `isUrlString`
Show description for c68ad76
sindresorhus
committed
c68ad76
View commit details
Copy full SHA for c68ad76
Browse repository at this point
Commits on Jun 6, 2025
Structure fixtures so they can be easily tested for exclusivity (#215)
bjornstar
authored
ef35cc3
View commit details
Copy full SHA for ef35cc3
Browse repository at this point
Commits on Jun 4, 2025
7.0.2
sindresorhus
committed
882a91c
View commit details
Copy full SHA for 882a91c
Browse repository at this point
FIx observable checking
Show description for e8e8124
sindresorhus
committed
e8e8124
View commit details
Copy full SHA for e8e8124
Browse repository at this point
Minor tweaks
sindresorhus
committed
47a5099
View commit details
Copy full SHA for 47a5099
Browse repository at this point
Commits on Sep 6, 2024
7.0.1
sindresorhus
committed
e097645
View commit details
Copy full SHA for e097645
Browse repository at this point
Fix passing in assertion message to `assertArray` (#210)
Show description for 5565c5e
marlun78
and
sindresorhus
authored
5565c5e
View commit details
Copy full SHA for 5565c5e
Browse repository at this point
Commits on Jul 10, 2024
7.0.0
sindresorhus
committed
ab85d9b
View commit details
Copy full SHA for ab85d9b
Browse repository at this point
Require Node.js 18
sindresorhus
committed
0ff273f
View commit details
Copy full SHA for 0ff273f
Browse repository at this point
Commits on Jun 26, 2024
Fix type guard for `isWhitespaceString` and `isEmptyStringOrWhitespace` (#207)
marlun78
authored
25a3768
View commit details
Copy full SHA for 25a3768
Browse repository at this point
Remove deprecated methods and improve `Class` definition (#209)
bjornstar
authored
8cbcaee
View commit details
Copy full SHA for 8cbcaee
Browse repository at this point
Commits on Jun 25, 2024
Replace ts-node with tsimp (#208)
bjornstar
authored
92699e1
View commit details
Copy full SHA for 92699e1
Browse repository at this point
Commits on May 16, 2024
6.3.1
sindresorhus
committed
47f4974
View commit details
Copy full SHA for 47f4974
Browse repository at this point
Add missing type guard for `is.enumCase`
Show description for 0df21e4
sindresorhus
committed
0df21e4
View commit details
Copy full SHA for 0df21e4
Browse repository at this point
Commits on Apr 28, 2024
Meta tweaks
sindresorhus
committed
f7148e1
View commit details
Copy full SHA for f7148e1
Browse repository at this point
Commits on Apr 23, 2024
6.3.0
sindresorhus
committed
a1987f8
View commit details
Copy full SHA for a1987f8
Browse repository at this point
Support custom assertion messages (#204)
Show description for f2e5834
marlun78
and
sindresorhus
authored
f2e5834
View commit details
Copy full SHA for f2e5834
Browse repository at this point
Previous
Next
You can’t perform that action at this time.