All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added
Undefinedgeneric type. - Added guard function
guardStringLengthBetween(). 53e02d8 - Added check function
isStringLengthBetween(). 5d044f9 - Added generic type
GenericObject. fd14947 - Added
guardStringIncludes()andguardStringIncludesSome()functions with tests. 691f07e - Added
guardObjectKeysIn()function to guard the value to be anobjectwith specified keys in it(or its prototype chain). 21e523b - Added
areprefixed functions to check the values of a rest parameter.areBigInt()areBoolean()areDate()areDefined()areFalse()areNull()areNumber()areRegExp()areSymbol()areTrue()areUndefined(). 823dac3 - Added a generic type
MinMaxthat takes generic type variableMinandMaxthat represents the range between minimum and maximum. e503d38 - Added new guard functions
guardDate(),guardFalse(),guardNumberBetween(),guardObjectKeyIn(),guardObjectSomeKeys(),guardRegExp(),guardStringLength(),guardTrue(). c374612 - Added
isObjectKeysIn(),isObjectSomeKeys(),isStringIncludes()andisStringIncludesSome()and to theisobject and to theIsinterface. 55635fa 1e48fb1 a4cb61d f809f32 5c85a03 d440e38 0efe8ae - Added
CallbackPayloadandForEachCallbacktypes. 98a2722 - Added the
typeobject consists ofare,isandguardobjects. dfb3df9 - Added an object to handle executing the tests. 8dd8099 230063b
- Added
recognizeValue()to recognize type of any value. d2f756e
- Updated the way of checking values in some of the
isandisNotprefixed functions. - Updated
isPrimitive()andisType()function does not use switch on thetypeargument. - Updated
guard,is,isNotprefixed functions to use updated generic typeResultCallbackwithpayloadparameter of generic type variablePayload. - Updated
isStringLength()function to check the specificlength. 061ab52 - Updated
guardStringLength()function to check the specificlength. 0e48591 - Updated
is {}object by addingstringLengthBetweenmethod. 083ffd0 - Updated
guardIsobject by addingobjectKeysIn,stringIncludes,stringLengthBetweenandstringIncludesSomemethods. 8679b4c 1d44d2e - Updated
GuardIsinterface by addingstringLengthBetween. 7387e23 - Updated
areString()function that works by using the returned methods. 68c9365 - Freeze the
guard,guardIs,isNotandisobject. 00e8841 09fb70f c4e6f8f 0efe8ae - Updated
isObject()function by adding the ability to check any kind of object, not only theObject. de6aa12 - Updated
NumberBetweeninterface by addingMinMaxinterface and a generic type variableType. 1263a2e - Updated
StringOfLengthinterface by addingMinMaxinterface and a generic type variableType. 24621f7 - Updated
isInstance()function can now check any kind of instance. 7d288c2 - Updated
Isinterface by addingstringLengthBetween. 26d7a9d 8ddb720 - Updated
Isinterface andisNotby changing the function types to thetypeofoperator. 8ddb720 8ddb720 - Updated the type of callback function
ResultCallbackto provide the type of value and the shape ofpayload. 8ddb720 34a1b1f - Updated functions by adding a generic type variable
Payloadconstrained by theobjecttype that is by default equal to theobject. 5c9486f - Updated functions by adding a
payloadparameter of generic typethat takes generic type variableCallbackPayloadPayloadto assign to callback functionpayloadparameter. 6d190f5 - Updated functions by removing
typeOf()function if it's not necessary to use it. 8ddb720 - Updated the
Definedto not use ofNevertype cause of some compile issues. e09a84f - Updated the
guardobject by removingisproperty. aa80250 - Updated the
isParam()function by removing theFuncgeneric type in favor ofFunction. 42065c9 - Updated
isObjectKey(),isObjectKeyInto check only one key instead of multiple keys. b7092a9 - Updated
isObjectKeys()works differently, now it searches for every key. The previous functionality providesisObjectSomeKeys(). b7092a9
- Removed
guardprefixed function types. a8e8566 - Removed
Functype in favor of build-inFunctiontype. 8ddb720 5148f05 - Removed
Keytype in favor of build-inPropertyKeytype. 562ec13 - Removed
CycleHooktype. 4d53a55