lazarljubenovic/type-guards
Simple utility for runtime type checking which also assigns the correct type if used with TypeScript.
TypeScript
Issues
- 1
Add "isTruthy" and "isFalsey" guards
#27 opened by lazarljubenovic - 0
Create new release
#57 opened by kkirsche - 0
Add "isDate"
#13 opened by lazarljubenovic - 0
Increase arguments for "or" and "and"
#16 opened by lazarljubenovic - 1
Add "isAny" guard
#17 opened by lazarljubenovic - 0
Add "isTrue" and "isFalse" typeguards
#12 opened by lazarljubenovic - 0
Filtering out specific symbols
#29 opened by lazarljubenovic - 0
Consider using `unknown` instead of `any`
#48 opened by lazarljubenovic - 0
- 2
Is this project still alive?
#44 opened by munierujp - 0
Add "symbol" to primitive types
#24 opened by lazarljubenovic - 1
- 2
"isOfShape" should allow keys not to be specified if that key can be undefined
#35 opened by RebeccaStevens - 0
Add "isTuple" typeguard
#7 opened by lazarljubenovic - 1
- 0
Add "throwUnless"
#30 opened by lazarljubenovic - 0
Add "isIterable" type guard
#28 opened by lazarljubenovic - 0
- 0
Fix "isNullish" alias
#23 opened by lazarljubenovic - 1
Add "throwIf" helper
#22 opened by lazarljubenovic - 0
- 1
- 0
- 1
Rename "oneOf" to "isOneOf"
#9 opened by lazarljubenovic - 0
Export extended Guard type
#18 opened by lazarljubenovic - 0
- 0
Add "not" helper to the FP module
#11 opened by lazarljubenovic - 0
Add contribution guidelines
#10 opened by lazarljubenovic - 0
Add "is not null" typeguard
#2 opened by lazarljubenovic - 3
Add "isRecord(key, value)" typeguard
#4 opened by lazarljubenovic - 1
Add "isRecord(key, value)" typeguard
#3 opened by lazarljubenovic