v4.0.0
Note
See Migration (v3 to v4) guide to migrate.
💥 Breaking changes
isBigInt
is renamed toisBigint
isOptionalOf
is renamed toasOptional
and moved intoas
moduleisUnwrapOptionalOf
is renamed toasUnoptional
and moved intoas
moduleisOptional
is renamed tohasOptional
and moved intoas
moduleisRecordLike
is removed (UseisRecord
instead)isRecordLikeOf
is removed (UseisRecordOf
instead)isReadonlyTupleOf
is removed (UseisTupleOf
withisReadonlyOf
instead)isReadonlyUniformTupleOf
is removed (UseisUniformTupleOf
withisReadonlyOf
instead)options
ofisObjectOf
is removed (UseisObjectOf
withisStrictOf
instead)isOneOf
is removed (UseisUnionOf
instead)isAllOf
is removed (UseisIntersectionOf
instead)isReadonly
is removedisUnwrapReadonlyOf
is removedgetMetadata
is removedgetPredicateFactoryMetadata
is removedsetPredicateFactoryMetadata
is removedGetMetadata
is removedWithMetadata
is removedPredicateFactoryMetadata
is removed
👍 Enhancements
- Add
asReadonly
,asUnreadonly
, andhasReadonly
- All predicate functions are exported individually in
is
oras
modules - All utility functions are exposed individually under the root module
What's Changed
- 🎉 unknownutil v4 by @lambdalisue in #87
Full Changelog: v3.18.1...v4.0.0