Skip to content

fix: declare isObject as a type predicate - #35

Merged
TrySound merged 1 commit into
jonschlinkert:masterfrom
TrySound:fix/type-predicate
Aug 20, 2026
Merged

TrySound merged 1 commit into
jonschlinkert:masterfrom
TrySound:fix/type-predicate

Conversation

@TrySound

Copy link
Copy Markdown
Collaborator

Summary

  • declare isObject as a TypeScript type predicate
  • narrow accepted values to string-keyed objects after successful checks

Closes #27

Testing

  • npm test
  • npm run build

@TrySound
TrySound merged commit f99ce64 into jonschlinkert:master Aug 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement type predicate

1 participant