From 1daae306348b78e5acef93d6f525a5581ac0ee6b Mon Sep 17 00:00:00 2001 From: "mergify[bot]" Date: Fri, 15 Nov 2024 03:10:12 +0000 Subject: [PATCH] deploy: 10ee0fca6a803ab179542f30a741914521462a0b --- functions/amend.html | 2 +- functions/as.html | 2 +- functions/asAny.html | 2 +- functions/assertType.html | 10 ++-- functions/brand-1.html | 4 +- functions/canAssign-1.html | 2 +- functions/compose.html | 2 +- functions/context.html | 2 +- functions/drop.html | 2 +- functions/everyKey.html | 2 +- functions/extractFunction-1.html | 2 +- functions/facade.html | 2 +- functions/filterKey.html | 2 +- functions/findKey.html | 2 +- functions/flavor-1.html | 4 +- functions/forEachKey.html | 2 +- functions/getField.html | 2 +- functions/hasKey-1.html | 2 +- functions/hasProperty.html | 2 +- functions/inspect.html | 2 +- functions/isConstructor.html | 2 +- functions/isInstanceof.html | 2 +- functions/isPromise.html | 2 +- functions/isSystemError.html | 2 +- functions/isType.html | 12 ++-- functions/literalArray.html | 2 +- functions/mapKey.html | 2 +- functions/mapProperties.html | 2 +- functions/mapSeries.html | 2 +- functions/merge-1.html | 2 +- functions/nominalMatch.html | 2 +- functions/omit-1.html | 2 +- functions/pick-2.html | 2 +- functions/record.html | 2 +- functions/reduceByKey.html | 2 +- functions/reduceKey.html | 2 +- functions/reduceWhile.html | 2 +- functions/replaceProperty-1.html | 2 +- functions/someKey.html | 2 +- functions/split-1.html | 2 +- functions/stub.html | 10 ++-- functions/transformMaybePromise.html | 4 +- functions/typeOverrideIncompatible.html | 2 +- ...rayPlus.CommonPropKeys.DefaultOptions.html | 4 +- .../ArrayPlus.CommonPropKeys.Options.html | 4 +- ...ArrayPlus.ElementMatch.DefaultOptions.html | 4 +- .../ArrayPlus.ElementMatch.Options.html | 4 +- .../ArrayPlus.Filter.DefaultOptions.html | 4 +- interfaces/ArrayPlus.Filter.Options.html | 4 +- interfaces/ArrayPlus.Find.DefaultOptions.html | 4 +- interfaces/ArrayPlus.Find.Options.html | 4 +- .../ArrayPlus.IsReadonly.DefaultOptions.html | 4 +- interfaces/ArrayPlus.IsReadonly.Options.html | 6 +- interfaces/Box.DefaultOptions.html | 4 +- interfaces/Branded.html | 4 +- interfaces/CommonPropKeys.DefaultOptions.html | 4 +- interfaces/CommonPropKeys.Options.html | 4 +- interfaces/DropFirst.DefaultOptions.html | 4 +- interfaces/DropFirst.Options.html | 4 +- interfaces/DropLast.DefaultOptions.html | 4 +- interfaces/DropLast.Options.html | 4 +- interfaces/Failed.html | 4 +- interfaces/FailedT.html | 4 +- interfaces/FindFirst.DefaultOptions.html | 4 +- interfaces/FindFirst.Options.html | 4 +- interfaces/Flavored.html | 4 +- interfaces/FlavoredUnit.html | 4 +- interfaces/Head.DefaultOptions.html | 4 +- interfaces/Head.Options.html | 4 +- interfaces/Last.DefaultOptions.html | 4 +- interfaces/Last.Options.html | 4 +- .../ObjectPlus.Merge.DefaultOptions.html | 4 +- ...plePlus.CommonPropKeys.DefaultOptions.html | 4 +- .../TuplePlus.CommonPropKeys.Options.html | 4 +- interfaces/TuplePlus.Find.DefaultOptions.html | 4 +- interfaces/TuplePlus.Find.Options.html | 4 +- interfaces/TypePlusOptions.NotArray.html | 4 +- interfaces/_Type.html | 4 +- interfaces/testType.TestType.html | 56 +++++++++---------- modules/ArrayPlus.CommonPropKeys.html | 2 +- modules/ArrayPlus.ElementMatch.html | 2 +- modules/ArrayPlus.Entries.html | 2 +- modules/ArrayPlus.Filter.html | 2 +- modules/ArrayPlus.Find.html | 2 +- modules/ArrayPlus.IndexAt.html | 2 +- modules/ArrayPlus.IsReadonly.html | 2 +- modules/ArrayPlus.Reverse.html | 2 +- modules/ArrayPlus.SplitAt.html | 2 +- modules/ArrayPlus.html | 2 +- modules/Assignable.html | 2 +- modules/Box.html | 2 +- modules/CommonPropKeys.html | 2 +- modules/DropFirst.html | 2 +- modules/DropLast.html | 2 +- modules/FindFirst.html | 2 +- modules/Head.html | 2 +- modules/IsAny.html | 2 +- modules/IsArray.html | 2 +- modules/IsBigint.html | 2 +- modules/IsBigintLiteral.html | 2 +- modules/IsBoolean.html | 2 +- modules/IsFalse.html | 2 +- modules/IsFunction.html | 2 +- modules/IsNever.html | 2 +- modules/IsNotAny.html | 2 +- modules/IsNotArray.html | 2 +- modules/IsNotBigint.html | 2 +- modules/IsNotBigintLiteral.html | 2 +- modules/IsNotBoolean.html | 2 +- modules/IsNotFalse.html | 2 +- modules/IsNotFunction.html | 2 +- modules/IsNotNever.html | 2 +- modules/IsNotNull.html | 2 +- modules/IsNotNumberLiteral.html | 2 +- modules/IsNotObject.html | 2 +- modules/IsNotStrictFunction.html | 2 +- modules/IsNotString.html | 2 +- modules/IsNotStringLiteral.html | 2 +- modules/IsNotSymbol.html | 2 +- modules/IsNotTemplateLiteral.html | 2 +- modules/IsNotTrue.html | 2 +- modules/IsNotTuple.html | 2 +- modules/IsNotUndefined.html | 2 +- modules/IsNotUnknown.html | 2 +- modules/IsNotVoid.html | 2 +- modules/IsNull.html | 2 +- modules/IsNumberLiteral.html | 2 +- modules/IsObject.html | 2 +- modules/IsStrictFunction.html | 2 +- modules/IsString.html | 2 +- modules/IsStringLiteral.html | 2 +- modules/IsSymbol.html | 2 +- modules/IsTemplateLiteral.html | 2 +- modules/IsTrue.html | 2 +- modules/IsTuple.html | 2 +- modules/IsUndefined.html | 2 +- modules/IsUnknown.html | 2 +- modules/IsVoid.html | 2 +- modules/Last.html | 2 +- modules/MathPlus.html | 2 +- modules/NotAssignable.html | 2 +- modules/NumberPlus.IsInteger.html | 2 +- modules/NumberPlus.IsNegative.html | 2 +- modules/NumberPlus.IsNotInteger.html | 2 +- modules/NumberPlus.IsNotNegative.html | 2 +- modules/NumberPlus.IsNotNumber.html | 2 +- modules/NumberPlus.IsNotNumeric.html | 2 +- modules/NumberPlus.IsNotPositive.html | 2 +- modules/NumberPlus.IsNumber.html | 2 +- modules/NumberPlus.IsNumeric.html | 2 +- modules/NumberPlus.IsPositive.html | 2 +- modules/NumberPlus.html | 2 +- modules/NumericPlus.html | 2 +- modules/ObjectPlus.Merge.html | 2 +- modules/ObjectPlus.html | 2 +- modules/Pick.html | 2 +- modules/RequiredKeys.html | 2 +- modules/Some.html | 2 +- modules/StringPlus.html | 2 +- modules/TuplePlus.CommonPropKeys.html | 2 +- modules/TuplePlus.DropMatch.html | 2 +- modules/TuplePlus.Find.html | 2 +- modules/TuplePlus.PadStart.html | 2 +- modules/TuplePlus.html | 2 +- modules/TypePlusOptions.html | 2 +- modules/UnionType.html | 2 +- modules/_Any.html | 2 +- modules/_Else.html | 2 +- modules/_Equality.html | 2 +- modules/_ExtractManipulatedString.html | 2 +- modules/_Never.html | 2 +- modules/_ResolveBranch.html | 2 +- modules/_Select.html | 2 +- modules/_SpecialType.html | 2 +- modules/_Then.html | 2 +- modules/_Unknown.html | 2 +- modules/testType.html | 2 +- types/ANotB.html | 2 +- types/Abs.html | 2 +- types/Add.html | 2 +- types/AdjustExactOptionalProps.html | 2 +- types/And.html | 2 +- types/AnyConstructor.html | 2 +- types/AnyFunction.html | 2 +- types/AnyRecord.html | 2 +- types/ArrayPlus.CommonPropKeys-1.html | 2 +- types/ArrayPlus.DropMatch.html | 2 +- types/ArrayPlus.ElementMatch-1.html | 2 +- types/ArrayPlus.Entries-1.html | 2 +- types/ArrayPlus.Entries.Device.html | 2 +- types/ArrayPlus.Filter-1.html | 2 +- types/ArrayPlus.Filter._.html | 2 +- types/ArrayPlus.Find-1.html | 2 +- types/ArrayPlus.IndexAt-1.html | 2 +- types/ArrayPlus.IndexAt._.html | 2 +- types/ArrayPlus.IsIndexOutOfBound.html | 2 +- types/ArrayPlus.IsReadonly-1.html | 2 +- types/ArrayPlus.PadStart.html | 2 +- types/ArrayPlus.Reverse-1.html | 2 +- types/ArrayPlus.Reverse._.html | 2 +- types/ArrayPlus.SplitAt-1.html | 2 +- types/ArrayPlus.SplitAt._.html | 2 +- types/ArrayPlus.SplitAt._D.html | 2 +- types/Assignable-1.html | 2 +- types/Assignable._.html | 2 +- types/Assignable._Branch.html | 2 +- types/Assignable._Default.html | 2 +- types/Assignable._Options.html | 2 +- types/Assignable._UtilOptions.html | 2 +- types/At.html | 2 +- types/AwaitedProp.html | 2 +- types/BNotA.html | 2 +- types/Box-1.html | 2 +- types/Box.Options.html | 2 +- types/Brand.html | 2 +- types/CanAssign.html | 2 +- types/ChainFn.html | 2 +- types/CommonKeys.html | 2 +- types/CommonPropKeys-1.html | 2 +- types/ComposableTypes.html | 2 +- types/Concat.html | 2 +- types/ContextBaseShape.html | 2 +- types/ContextBuilder.html | 4 +- types/ContextExtender.html | 2 +- types/CreateTuple.html | 2 +- types/Decrement.html | 2 +- types/DropFirst-1.html | 2 +- types/DropLast-1.html | 2 +- types/DropMatch.html | 2 +- types/DropNull.html | 2 +- types/DropNullable.html | 2 +- types/DropUndefined.html | 2 +- types/EitherAnd.html | 2 +- types/EitherOrBoth.html | 2 +- types/EndoFn.html | 2 +- types/Equal.html | 2 +- types/Except.html | 2 +- types/Exclude.html | 2 +- types/ExcludePropType.html | 2 +- types/Extendable.html | 2 +- types/ExtractFunction.html | 2 +- types/Filter.html | 2 +- types/FindFirst-1.html | 2 +- types/FindLast.html | 2 +- types/Flavor.html | 2 +- types/GreaterThan.html | 2 +- types/HasKey.html | 2 +- types/HasUndefined.html | 2 +- types/Head-1.html | 2 +- types/If.html | 2 +- types/Increment.html | 2 +- types/IntersectOfProps.html | 2 +- types/IsAny-1.html | 2 +- types/IsAny._Branch.html | 2 +- types/IsAny._Options.html | 2 +- types/IsAnyOrNever.html | 2 +- types/IsArray-1.html | 2 +- types/IsArray._.html | 2 +- types/IsArray._Branch.html | 2 +- types/IsArray._Options.html | 2 +- types/IsArray._UtilOptions.html | 2 +- types/IsAssign.html | 2 +- types/IsBigint-1.html | 2 +- types/IsBigint._.html | 2 +- types/IsBigint._Branch.html | 2 +- types/IsBigint._Options.html | 2 +- types/IsBigint._SD.html | 2 +- types/IsBigint._SN.html | 2 +- types/IsBigint._UtilOptions.html | 2 +- types/IsBigintLiteral-1.html | 2 +- types/IsBigintLiteral._.html | 2 +- types/IsBigintLiteral._Branch.html | 2 +- types/IsBigintLiteral._D.html | 2 +- types/IsBigintLiteral._N.html | 2 +- types/IsBigintLiteral._Options.html | 2 +- types/IsBigintLiteral._UtilOptions.html | 2 +- types/IsBoolean-1.html | 2 +- types/IsBoolean._.html | 2 +- types/IsBoolean._Branch.html | 2 +- types/IsBoolean._DistributeMap.html | 2 +- types/IsBoolean._N.html | 2 +- types/IsBoolean._Options.html | 2 +- types/IsBoolean._SD.html | 2 +- types/IsBoolean._UtilOptions.html | 2 +- types/IsDisjoint.html | 2 +- types/IsEmptyObject.html | 2 +- types/IsEqual.html | 2 +- types/IsExtend.html | 2 +- types/IsFalse-1.html | 2 +- types/IsFalse._.html | 2 +- types/IsFalse._Branch.html | 2 +- types/IsFalse._Options.html | 2 +- types/IsFalse._UtilOptions.html | 2 +- types/IsFunction-1.html | 2 +- types/IsFunction._Branch.html | 2 +- types/IsFunction._Default.html | 2 +- types/IsFunction._Options.html | 2 +- types/IsLiteral.html | 2 +- types/IsLooseArray.html | 2 +- types/IsNever-1.html | 2 +- types/IsNever._Branch.html | 2 +- types/IsNever._O.html | 2 +- types/IsNever._Options.html | 2 +- types/IsNotAny-1.html | 2 +- types/IsNotAny._Branch.html | 2 +- types/IsNotAny._Options.html | 2 +- types/IsNotArray-1.html | 2 +- types/IsNotArray._.html | 2 +- types/IsNotArray._Branch.html | 2 +- types/IsNotArray._Options.html | 2 +- types/IsNotArray._UtilOptions.html | 2 +- types/IsNotBigint-1.html | 2 +- types/IsNotBigint._.html | 2 +- types/IsNotBigint._Branch.html | 2 +- types/IsNotBigint._Options.html | 2 +- types/IsNotBigint._SD.html | 2 +- types/IsNotBigint._SN.html | 2 +- types/IsNotBigint._UtilOptions.html | 2 +- types/IsNotBigintLiteral-1.html | 2 +- types/IsNotBigintLiteral._.html | 2 +- types/IsNotBigintLiteral._Branch.html | 2 +- types/IsNotBigintLiteral._D.html | 2 +- types/IsNotBigintLiteral._N.html | 2 +- types/IsNotBigintLiteral._Options.html | 2 +- types/IsNotBigintLiteral._UtilOptions.html | 2 +- types/IsNotBoolean-1.html | 2 +- types/IsNotBoolean._.html | 2 +- types/IsNotBoolean._Branch.html | 2 +- types/IsNotBoolean._D.html | 2 +- types/IsNotBoolean._N.html | 2 +- types/IsNotBoolean._Options.html | 2 +- types/IsNotBoolean._UtilOptions.html | 2 +- types/IsNotEqual.html | 2 +- types/IsNotExtend.html | 2 +- types/IsNotFalse-1.html | 2 +- types/IsNotFalse._.html | 2 +- types/IsNotFalse._Branch.html | 2 +- types/IsNotFalse._Options.html | 2 +- types/IsNotFalse._UtilOptions.html | 2 +- types/IsNotFunction-1.html | 2 +- types/IsNotFunction._Branch.html | 2 +- types/IsNotFunction._Default.html | 2 +- types/IsNotFunction._Options.html | 2 +- types/IsNotLooseArray.html | 2 +- types/IsNotNever-1.html | 2 +- types/IsNotNever._Branch.html | 2 +- types/IsNotNever._O.html | 2 +- types/IsNotNever._Options.html | 2 +- types/IsNotNull-1.html | 2 +- types/IsNotNull._.html | 2 +- types/IsNotNull._Branch.html | 2 +- types/IsNotNull._Options.html | 2 +- types/IsNotNull._UtilOptions.html | 2 +- types/IsNotNumberLiteral-1.html | 2 +- types/IsNotNumberLiteral._.html | 2 +- types/IsNotNumberLiteral._Branch.html | 2 +- types/IsNotNumberLiteral._D.html | 2 +- types/IsNotNumberLiteral._N.html | 2 +- types/IsNotNumberLiteral._Options.html | 2 +- types/IsNotNumberLiteral._UtilOptions.html | 2 +- types/IsNotObject-1.html | 2 +- types/IsNotObject._.html | 2 +- types/IsNotObject._Branch.html | 2 +- types/IsNotObject._D.html | 2 +- types/IsNotObject._N.html | 2 +- types/IsNotObject._Options.html | 2 +- types/IsNotObject._UtilOptions.html | 2 +- types/IsNotStrictFunction-1.html | 2 +- types/IsNotStrictFunction._Branch.html | 2 +- types/IsNotStrictFunction._D.html | 2 +- types/IsNotStrictFunction._Default.html | 2 +- types/IsNotStrictFunction._Options.html | 2 +- types/IsNotString-1.html | 2 +- types/IsNotString._.html | 2 +- types/IsNotString._Branch.html | 2 +- types/IsNotString._D.html | 2 +- types/IsNotString._N.html | 2 +- types/IsNotString._Options.html | 2 +- types/IsNotString._UtilOptions.html | 2 +- types/IsNotStringLiteral-1.html | 2 +- types/IsNotStringLiteral._.html | 2 +- types/IsNotStringLiteral._Branch.html | 2 +- types/IsNotStringLiteral._D.html | 2 +- types/IsNotStringLiteral._E.html | 2 +- types/IsNotStringLiteral._ED.html | 2 +- types/IsNotStringLiteral._EN.html | 2 +- types/IsNotStringLiteral._N.html | 2 +- types/IsNotStringLiteral._Options.html | 2 +- types/IsNotStringLiteral._U.html | 2 +- types/IsNotStringLiteral._UtilOptions.html | 2 +- types/IsNotSymbol-1.html | 2 +- types/IsNotSymbol._.html | 2 +- types/IsNotSymbol._Branch.html | 2 +- types/IsNotSymbol._Options.html | 2 +- types/IsNotSymbol._UtilOptions.html | 2 +- types/IsNotTemplateLiteral-1.html | 2 +- types/IsNotTemplateLiteral._.html | 2 +- types/IsNotTemplateLiteral._Branch.html | 2 +- types/IsNotTemplateLiteral._Options.html | 2 +- types/IsNotTemplateLiteral._UtilOptions.html | 2 +- types/IsNotTrue-1.html | 2 +- types/IsNotTrue._.html | 2 +- types/IsNotTrue._Branch.html | 2 +- types/IsNotTrue._Options.html | 2 +- types/IsNotTrue._UtilOptions.html | 2 +- types/IsNotTuple-1.html | 2 +- types/IsNotTuple._.html | 2 +- types/IsNotTuple._Branch.html | 2 +- types/IsNotTuple._Options.html | 2 +- types/IsNotTuple._UtilOptions.html | 2 +- types/IsNotUndefined-1.html | 2 +- types/IsNotUndefined._.html | 2 +- types/IsNotUndefined._Branch.html | 2 +- types/IsNotUndefined._Options.html | 2 +- types/IsNotUndefined._UtilOptions.html | 2 +- types/IsNotUnknown-1.html | 2 +- types/IsNotUnknown._Branch.html | 2 +- types/IsNotUnknown._Options.html | 2 +- types/IsNotVoid-1.html | 2 +- types/IsNotVoid._.html | 2 +- types/IsNotVoid._Branch.html | 2 +- types/IsNotVoid._Options.html | 2 +- types/IsNotVoid._UtilOptions.html | 2 +- types/IsNull-1.html | 2 +- types/IsNull._.html | 2 +- types/IsNull._Branch.html | 2 +- types/IsNull._Options.html | 2 +- types/IsNull._UtilOptions.html | 2 +- types/IsNumberLiteral-1.html | 2 +- types/IsNumberLiteral._.html | 2 +- types/IsNumberLiteral._Branch.html | 2 +- types/IsNumberLiteral._D.html | 2 +- types/IsNumberLiteral._N.html | 2 +- types/IsNumberLiteral._Options.html | 2 +- types/IsNumberLiteral._UtilOptions.html | 2 +- types/IsObject-1.html | 2 +- types/IsObject._.html | 2 +- types/IsObject._Branch.html | 2 +- types/IsObject._D.html | 2 +- types/IsObject._N.html | 2 +- types/IsObject._Options.html | 2 +- types/IsObject._UtilOptions.html | 2 +- types/IsOptionalKey.html | 2 +- types/IsRecord.html | 2 +- types/IsStrictFunction-1.html | 2 +- types/IsStrictFunction._Branch.html | 2 +- types/IsStrictFunction._D.html | 2 +- types/IsStrictFunction._Default.html | 2 +- types/IsStrictFunction._Options.html | 2 +- types/IsString-1.html | 2 +- types/IsString._.html | 2 +- types/IsString._Branch.html | 2 +- types/IsString._D.html | 2 +- types/IsString._N.html | 2 +- types/IsString._Options.html | 2 +- types/IsString._UtilOptions.html | 2 +- types/IsStringLiteral-1.html | 2 +- types/IsStringLiteral._.html | 2 +- types/IsStringLiteral._Branch.html | 2 +- types/IsStringLiteral._D.html | 2 +- types/IsStringLiteral._E.html | 2 +- types/IsStringLiteral._ED.html | 2 +- types/IsStringLiteral._EN.html | 2 +- types/IsStringLiteral._N.html | 2 +- types/IsStringLiteral._Options.html | 2 +- types/IsStringLiteral._U.html | 2 +- types/IsStringLiteral._UtilOptions.html | 2 +- types/IsSymbol-1.html | 2 +- types/IsSymbol._.html | 2 +- types/IsSymbol._Branch.html | 2 +- types/IsSymbol._Options.html | 2 +- types/IsSymbol._UtilOptions.html | 2 +- types/IsTemplateLiteral-1.html | 2 +- types/IsTemplateLiteral._.html | 2 +- types/IsTemplateLiteral._Branch.html | 2 +- types/IsTemplateLiteral._Options.html | 2 +- types/IsTemplateLiteral._UtilOptions.html | 2 +- types/IsTrue-1.html | 2 +- types/IsTrue._.html | 2 +- types/IsTrue._Branch.html | 2 +- types/IsTrue._Options.html | 2 +- types/IsTrue._UtilOptions.html | 2 +- types/IsTuple-1.html | 2 +- types/IsTuple._.html | 2 +- types/IsTuple._Branch.html | 2 +- types/IsTuple._Options.html | 2 +- types/IsTuple._UtilOptions.html | 2 +- types/IsUndefined-1.html | 2 +- types/IsUndefined._.html | 2 +- types/IsUndefined._Branch.html | 2 +- types/IsUndefined._Options.html | 2 +- types/IsUndefined._UtilOptions.html | 2 +- types/IsUnion.html | 2 +- types/IsUnknown-1.html | 2 +- types/IsUnknown._Branch.html | 2 +- types/IsUnknown._Options.html | 2 +- types/IsVoid-1.html | 2 +- types/IsVoid._.html | 2 +- types/IsVoid._Branch.html | 2 +- types/IsVoid._Options.html | 2 +- types/IsVoid._UtilOptions.html | 2 +- types/JSONArray.html | 2 +- types/JSONObject.html | 2 +- types/JSONPrimitive.html | 2 +- types/JSONTypes.html | 2 +- types/KeepMatch.html | 2 +- types/KeyTypes.html | 2 +- types/KeysOfOptional.html | 2 +- types/KeysWithDiffType.html | 2 +- types/KnownKeys.html | 2 +- types/Last-1.html | 2 +- types/LeftJoin.html | 2 +- types/LooseArrayType.html | 2 +- types/MapToProp.html | 2 +- types/MathPlus.ToNegative.html | 2 +- types/Max.html | 2 +- types/MaybePromise.html | 2 +- types/Merge.html | 2 +- types/Multiply.html | 2 +- types/NoInfer.html | 2 +- types/NonComposableTypes.html | 2 +- types/Not.html | 2 +- types/NotAssignable-1.html | 2 +- types/NotAssignable._.html | 2 +- types/NotAssignable._Branch.html | 2 +- types/NotAssignable._Default.html | 2 +- types/NotAssignable._Options.html | 2 +- types/NotAssignable._UtilOptions.html | 2 +- types/NotEqual.html | 2 +- types/NotExtendable.html | 2 +- types/NotLooseArrayType.html | 2 +- types/NotUnknownOr.html | 2 +- types/NumberPlus.IsInteger-1.html | 2 +- types/NumberPlus.IsInteger._Branch.html | 2 +- types/NumberPlus.IsInteger._Options.html | 2 +- types/NumberPlus.IsNegative-1.html | 2 +- types/NumberPlus.IsNegative._Branch.html | 2 +- types/NumberPlus.IsNegative._Negative.html | 2 +- types/NumberPlus.IsNegative._Options.html | 2 +- types/NumberPlus.IsNotInteger-1.html | 2 +- types/NumberPlus.IsNotInteger._Branch.html | 2 +- types/NumberPlus.IsNotInteger._Options.html | 2 +- types/NumberPlus.IsNotNegative-1.html | 2 +- types/NumberPlus.IsNotNegative._Branch.html | 2 +- types/NumberPlus.IsNotNegative._Negative.html | 2 +- types/NumberPlus.IsNotNegative._Options.html | 2 +- types/NumberPlus.IsNotNumber-1.html | 2 +- types/NumberPlus.IsNotNumber._.html | 2 +- types/NumberPlus.IsNotNumber._Branch.html | 2 +- types/NumberPlus.IsNotNumber._D.html | 2 +- types/NumberPlus.IsNotNumber._N.html | 2 +- types/NumberPlus.IsNotNumber._Options.html | 2 +- .../NumberPlus.IsNotNumber._UtilOptions.html | 2 +- types/NumberPlus.IsNotNumeric-1.html | 2 +- types/NumberPlus.IsNotNumeric._Branch.html | 2 +- types/NumberPlus.IsNotNumeric._Default.html | 2 +- types/NumberPlus.IsNotNumeric._Options.html | 2 +- types/NumberPlus.IsNotPositive-1.html | 2 +- types/NumberPlus.IsNotPositive._Branch.html | 2 +- types/NumberPlus.IsNotPositive._Negative.html | 2 +- types/NumberPlus.IsNotPositive._Options.html | 2 +- types/NumberPlus.IsNumber-1.html | 2 +- types/NumberPlus.IsNumber._.html | 2 +- types/NumberPlus.IsNumber._Branch.html | 2 +- types/NumberPlus.IsNumber._D.html | 2 +- types/NumberPlus.IsNumber._N.html | 2 +- types/NumberPlus.IsNumber._Options.html | 2 +- types/NumberPlus.IsNumber._UtilOptions.html | 2 +- types/NumberPlus.IsNumeric-1.html | 2 +- types/NumberPlus.IsNumeric._Branch.html | 2 +- types/NumberPlus.IsNumeric._Default.html | 2 +- types/NumberPlus.IsNumeric._Options.html | 2 +- types/NumberPlus.IsPositive-1.html | 2 +- types/NumberPlus.IsPositive._Branch.html | 2 +- types/NumberPlus.IsPositive._Options.html | 2 +- types/NumberPlus.IsPositive._Positive.html | 2 +- types/NumberPlus.Numeric.html | 2 +- types/NumberPlus.Zero.html | 2 +- types/NumericToString.html | 2 +- types/ObjectPlus.Merge-1.html | 2 +- types/ObjectPlus.Merge.Cases.html | 2 +- types/ObjectPlus.Merge.JoinProps.html | 2 +- types/ObjectPlus.Merge.Options.html | 2 +- types/Omit.html | 2 +- types/OptionalKeys.html | 2 +- types/OptionalProps.html | 2 +- types/Or.html | 2 +- types/PadStart.html | 2 +- types/Partial.html | 2 +- types/PartialExcept.html | 2 +- types/PartialOmit.html | 2 +- types/PartialPick.html | 2 +- types/Pick-1.html | 2 +- types/Pick._.html | 2 +- types/PrimitiveTypes.html | 2 +- types/PromiseValue.html | 2 +- types/PromiseValueMerge.html | 2 +- types/PropUnion.html | 2 +- types/Properties.html | 2 +- types/RecordValue.html | 2 +- types/RecursiveIntersect.html | 2 +- types/RecursivePartial.html | 2 +- types/RecursiveRequired.html | 2 +- types/ReplaceProperty.html | 2 +- types/Required.html | 2 +- types/RequiredExcept.html | 2 +- types/RequiredKeys-1.html | 2 +- types/RequiredKeys._.html | 2 +- types/RequiredPick.html | 2 +- types/Reverse.html | 2 +- types/Some-1.html | 2 +- types/Some.Loose.html | 2 +- types/Some.LooseArray.html | 2 +- types/Some.LooseTuple.html | 2 +- types/Some.Strict.html | 2 +- types/Some.StrictArray.html | 2 +- types/Some.StrictTuple.html | 2 +- types/Split.html | 2 +- types/SpreadRecord.html | 2 +- types/StrictCanAssign.html | 2 +- types/StringIncludes.html | 2 +- types/StringPlus.Includes.html | 2 +- types/StringPlus.Split.html | 2 +- types/StringSplit.html | 2 +- types/StringToBigint.html | 2 +- types/StringToNumber.html | 2 +- types/StringToNumeric.html | 2 +- types/SubUnion.html | 2 +- types/Subtract.html | 2 +- types/SystemErrorCodes.html | 2 +- types/SystemErrors.html | 2 +- types/Tail.html | 2 +- types/ToTuple.html | 2 +- types/TuplePlus.CommonPropKeys-1.html | 2 +- types/TuplePlus.DropMatch-1.html | 2 +- ...us.DropMatch.ExcludeUnionOfEmptyTuple.html | 2 +- types/TuplePlus.Filter.html | 2 +- types/TuplePlus.Find-1.html | 2 +- types/TuplePlus.Find.Device.html | 2 +- types/TuplePlus.PadStart-1.html | 2 +- types/TuplePlus.PadStart.Device.html | 2 +- types/TypePlusOptions.Merge.html | 2 +- types/UnionKeys.html | 2 +- types/UnionOfProps.html | 2 +- types/UnionOfValues.html | 2 +- types/UnionType-1.html | 2 +- types/UnionType.Device.html | 2 +- types/ValueOf.html | 2 +- types/Widen.html | 2 +- types/Xor.html | 2 +- types/_Any-1.html | 2 +- types/_Any._Branch.html | 2 +- types/_Any._Options.html | 2 +- types/_Branch.html | 2 +- types/_BranchOptions.html | 2 +- types/_DistributiveDefault.html | 2 +- types/_DistributiveOptions.html | 2 +- types/_Else-1.html | 2 +- types/_Else._Branch.html | 2 +- types/_Equality._Branch.html | 2 +- types/_Equality._Options.html | 2 +- types/_Error.html | 2 +- types/_ExtractManipulatedString-1.html | 2 +- .../_ExtractManipulatedString._CapOrElse.html | 2 +- ...ExtractManipulatedString._LowerOrElse.html | 2 +- ...ExtractManipulatedString._UncapOrElse.html | 2 +- ...ExtractManipulatedString._UpperOrElse.html | 2 +- types/_FlipSelection.html | 2 +- types/_InferError.html | 2 +- types/_InputOptions.html | 2 +- types/_InvertSelection.html | 2 +- types/_IsDistributive.html | 2 +- types/_MergeOptions.html | 2 +- types/_Never-1.html | 2 +- types/_Never._Branch.html | 2 +- types/_Never._Default.html | 2 +- types/_Never._Options.html | 2 +- types/_NotNever.html | 2 +- types/_ResolveBranch-1.html | 2 +- types/_ResolveBranch._.html | 2 +- types/_ResolveBranch._Last.html | 2 +- types/_ResolveBranch._OLast.html | 2 +- types/_ResolveBranch._Override.html | 2 +- types/_ResolveOptions.html | 2 +- types/_Select-1.html | 2 +- types/_Select._.html | 2 +- types/_Select._Branch.html | 2 +- types/_Select._D.html | 2 +- types/_Select._Default.html | 2 +- types/_Select._N.html | 2 +- types/_Select._Options.html | 2 +- types/_SelectionBranch.html | 2 +- types/_SelectionFilter.html | 2 +- types/_SelectionOptions.html | 2 +- types/_SelectionPredicate.html | 2 +- types/_SpecialType-1.html | 2 +- types/_SpecialType._Branch.html | 2 +- types/_SpecialType._Options.html | 2 +- types/_Then-1.html | 2 +- types/_Then._Branch.html | 2 +- types/_Unknown-1.html | 2 +- types/_Unknown._Branch.html | 2 +- types/_Unknown._Options.html | 2 +- types/testType.InspectedType.html | 2 +- variables/JSONTypes-1.html | 2 +- variables/MaybePromise-1.html | 2 +- variables/testType-1.html | 2 +- 707 files changed, 787 insertions(+), 787 deletions(-) diff --git a/functions/amend.html b/functions/amend.html index 9466502f9..8833ebc91 100644 --- a/functions/amend.html +++ b/functions/amend.html @@ -1,2 +1,2 @@ amend | type-plus - v8.0.0-beta.6

Function amend

+

Type Parameters

Parameters

Returns {
    intersect<T>(): S | T;
    union<T>(): T & S;
}

diff --git a/functions/as.html b/functions/as.html index 019ed597e..efdc49c02 100644 --- a/functions/as.html +++ b/functions/as.html @@ -1 +1 @@ -as | type-plus - v8.0.0-beta.6

Function as

+as | type-plus - v8.0.0-beta.6

Function as

diff --git a/functions/asAny.html b/functions/asAny.html index 01a918ce2..9c0c0a445 100644 --- a/functions/asAny.html +++ b/functions/asAny.html @@ -1 +1 @@ -asAny | type-plus - v8.0.0-beta.6

Function asAny

+asAny | type-plus - v8.0.0-beta.6

Function asAny

diff --git a/functions/assertType.html b/functions/assertType.html index 7097419a1..13b713925 100644 --- a/functions/assertType.html +++ b/functions/assertType.html @@ -1,8 +1,8 @@ assertType | type-plus - v8.0.0-beta.6

Function assertType

  • 💥 immediate 🚦 assertion

    Assert the subject satisfies the specified type T

    -

    Type Parameters

    • T

    Parameters

    • subject: T

    Returns asserts subject is T

  • Type Parameters

    • T

    Parameters

    • subject: unknown
    • validator: ((s: T) => boolean)
        • (s): boolean
        • Parameters

          Returns boolean

    Returns asserts subject is T

  • Type Parameters

    • T extends (new (..._args: any[]) => any)

    Parameters

    • subject: unknown
    • classConstructor: T

    Returns asserts subject is InstanceType<T>

    this is not a failsafe test

    -

Methods

as +

Type Parameters

  • T

Parameters

  • subject: T

Returns asserts subject is T

  • Type Parameters

    • T

    Parameters

    • subject: unknown
    • validator: ((s: T) => boolean)
        • (s): boolean
        • Parameters

          Returns boolean

    Returns asserts subject is T

  • Type Parameters

    • T extends (new (..._args: any[]) => any)

    Parameters

    • subject: unknown
    • classConstructor: T

    Returns asserts subject is InstanceType<T>

    this is not a failsafe test

    +
  • Methods

    • creates a custom assertion function with standard TypeError. +

    Methods

    • creates a custom assertion function with standard TypeError. Currently this requires explicity type annotation, thus making it hard to use: https://github.com/microsoft/TypeScript/issues/41047

      -

      Type Parameters

      • T

      Parameters

      • validator: ((s: T) => boolean)
          • (s): boolean
          • Parameters

            Returns boolean

      Returns ((subject: unknown) => asserts subject is T)

        • (subject): asserts subject is T
        • Parameters

          • subject: unknown

          Returns asserts subject is T

    • 💀 deprecated. It does not work in all cases.

      +

      Type Parameters

      • T

      Parameters

      • validator: ((s: T) => boolean)
          • (s): boolean
          • Parameters

            Returns boolean

      Returns ((subject: unknown) => asserts subject is T)

        • (subject): asserts subject is T
        • Parameters

          • subject: unknown

          Returns asserts subject is T

    +

    Parameters

    Returns asserts subject is AnyConstructor

    diff --git a/functions/brand-1.html b/functions/brand-1.html index 971b3dfd5..3bc299e63 100644 --- a/functions/brand-1.html +++ b/functions/brand-1.html @@ -1,3 +1,3 @@ brand | type-plus - v8.0.0-beta.6

    Function brand

    +

    Type Parameters

    Parameters

    Returns (<T>(subject: T) => Brand<B, Widen<T>>)

  • Creates a branded value of specified type.

    +

    Type Parameters

    • B extends string
    • T

    Parameters

    • type: B
    • subject: T

    Returns Brand<B, Widen<T>>

  • diff --git a/functions/canAssign-1.html b/functions/canAssign-1.html index 5f3064a8d..b1915c955 100644 --- a/functions/canAssign-1.html +++ b/functions/canAssign-1.html @@ -1 +1 @@ -canAssign | type-plus - v8.0.0-beta.6

    Function canAssign

    +canAssign | type-plus - v8.0.0-beta.6

    Function canAssign

    diff --git a/functions/compose.html b/functions/compose.html index 35d3e2b05..cbcc691fd 100644 --- a/functions/compose.html +++ b/functions/compose.html @@ -3,4 +3,4 @@ and return the result of the last function.

    args functions to be composed. Each function will receive the return value of the previous function as its parameters.

    -
    +
    diff --git a/functions/context.html b/functions/context.html index 0e19d97b8..398c9227b 100644 --- a/functions/context.html +++ b/functions/context.html @@ -3,4 +3,4 @@

    Returns ContextBuilder<Init, Ctx>

    the context builder where you can use extend() to add context, and use build() to build the context.

    -
    +
    diff --git a/functions/drop.html b/functions/drop.html index 6d5bd2729..2ef2a826d 100644 --- a/functions/drop.html +++ b/functions/drop.html @@ -1,3 +1,3 @@ drop | type-plus - v8.0.0-beta.6

    Function drop

    +

    Type Parameters

    Parameters

    Returns DropMatch<A, C>

    diff --git a/functions/everyKey.html b/functions/everyKey.html index b0be44fdd..2808478d0 100644 --- a/functions/everyKey.html +++ b/functions/everyKey.html @@ -1 +1 @@ -everyKey | type-plus - v8.0.0-beta.6

    Function everyKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, array: string[]) => unknown)
          • (this, key, index, array): unknown
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • array: string[]

            Returns unknown

      • OptionalthisArg: T

      Returns boolean

    +everyKey | type-plus - v8.0.0-beta.6

    Function everyKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, array: string[]) => unknown)
          • (this, key, index, array): unknown
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • array: string[]

            Returns unknown

      • OptionalthisArg: T

      Returns boolean

    diff --git a/functions/extractFunction-1.html b/functions/extractFunction-1.html index 3ef23908a..5b8aa4fb6 100644 --- a/functions/extractFunction-1.html +++ b/functions/extractFunction-1.html @@ -1,3 +1,3 @@ extractFunction | type-plus - v8.0.0-beta.6

    Function extractFunction

    +
    diff --git a/functions/facade.html b/functions/facade.html index ea84f45ab..668a5513b 100644 --- a/functions/facade.html +++ b/functions/facade.html @@ -1,2 +1,2 @@ facade | type-plus - v8.0.0-beta.6

    Function facade

    • creates a facade of the subject.

      -

      Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1

      Returns Pick<T, P1>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2

      Returns Pick<T, P1 | P2>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3

      Returns Pick<T, P1 | P2 | P3>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4
      • prop5: P5

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol
      • P12 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11
          | P12>

    +

    Type Parameters

    Parameters

    Returns Pick<T, P1>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol

    Parameters

    • subject: T
    • prop1: P1
    • prop2: P2

    Returns Pick<T, P1 | P2>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol

    Parameters

    • subject: T
    • prop1: P1
    • prop2: P2
    • prop3: P3

    Returns Pick<T, P1 | P2 | P3>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol

    Parameters

    • subject: T
    • prop1: P1
    • prop2: P2
    • prop3: P3
    • prop4: P4

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol

    Parameters

    • subject: T
    • prop1: P1
    • prop2: P2
    • prop3: P3
    • prop4: P4
    • prop5: P5

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol
    • P8 extends string | number | symbol

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol
    • P8 extends string | number | symbol
    • P9 extends string | number | symbol

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol
    • P8 extends string | number | symbol
    • P9 extends string | number | symbol
    • P10 extends string | number | symbol

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9
        | P10>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol
    • P8 extends string | number | symbol
    • P9 extends string | number | symbol
    • P10 extends string | number | symbol
    • P11 extends string | number | symbol

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9
        | P10
        | P11>

  • Type Parameters

    • T extends AnyRecord
    • P1 extends string | number | symbol
    • P2 extends string | number | symbol
    • P3 extends string | number | symbol
    • P4 extends string | number | symbol
    • P5 extends string | number | symbol
    • P6 extends string | number | symbol
    • P7 extends string | number | symbol
    • P8 extends string | number | symbol
    • P9 extends string | number | symbol
    • P10 extends string | number | symbol
    • P11 extends string | number | symbol
    • P12 extends string | number | symbol

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9
        | P10
        | P11
        | P12>

  • diff --git a/functions/filterKey.html b/functions/filterKey.html index a5a648283..7182a0cab 100644 --- a/functions/filterKey.html +++ b/functions/filterKey.html @@ -1 +1 @@ -filterKey | type-plus - v8.0.0-beta.6

    Function filterKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => boolean)
          • (this, key, index, obj, subject): boolean
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns boolean

      • OptionalthisArg: T

      Returns (keyof S)[]

    +filterKey | type-plus - v8.0.0-beta.6

    Function filterKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => boolean)
          • (this, key, index, obj, subject): boolean
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns boolean

      • OptionalthisArg: T

      Returns (keyof S)[]

    diff --git a/functions/findKey.html b/functions/findKey.html index f1d4f8974..cf75bde61 100644 --- a/functions/findKey.html +++ b/functions/findKey.html @@ -1 +1 @@ -findKey | type-plus - v8.0.0-beta.6

    Function findKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => boolean)
          • (this, key, index, obj, subject): boolean
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns boolean

      • OptionalthisArg: T

      Returns keyof S | undefined

    +findKey | type-plus - v8.0.0-beta.6

    Function findKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => boolean)
          • (this, key, index, obj, subject): boolean
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns boolean

      • OptionalthisArg: T

      Returns keyof S | undefined

    diff --git a/functions/flavor-1.html b/functions/flavor-1.html index 00f9e8357..aca51031b 100644 --- a/functions/flavor-1.html +++ b/functions/flavor-1.html @@ -1,3 +1,3 @@ flavor | type-plus - v8.0.0-beta.6

    Function flavor

    +

    Type Parameters

    Parameters

    Returns (<T>(subject: T) => Flavor<F, Widen<T>>)

  • Creates a branded value of specified type.

    +

    Type Parameters

    • F extends string
    • T

    Parameters

    • type: F
    • subject: T

    Returns Flavor<F, Widen<T>>

  • diff --git a/functions/forEachKey.html b/functions/forEachKey.html index 8c82d2b61..5569b5dd2 100644 --- a/functions/forEachKey.html +++ b/functions/forEachKey.html @@ -1 +1 @@ -forEachKey | type-plus - v8.0.0-beta.6

    Function forEachKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[]) => void)
          • (this, key, index, obj): void
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]

            Returns void

      • OptionalthisArg: T

      Returns void

    +forEachKey | type-plus - v8.0.0-beta.6

    Function forEachKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[]) => void)
          • (this, key, index, obj): void
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]

            Returns void

      • OptionalthisArg: T

      Returns void

    diff --git a/functions/getField.html b/functions/getField.html index 1a4842f77..491332c2d 100644 --- a/functions/getField.html +++ b/functions/getField.html @@ -1 +1 @@ -getField | type-plus - v8.0.0-beta.6

    Function getField

    +getField | type-plus - v8.0.0-beta.6

    Function getField

    diff --git a/functions/hasKey-1.html b/functions/hasKey-1.html index 35dfc6e90..3c521c62d 100644 --- a/functions/hasKey-1.html +++ b/functions/hasKey-1.html @@ -1 +1 @@ -hasKey | type-plus - v8.0.0-beta.6

    Function hasKey

    +hasKey | type-plus - v8.0.0-beta.6

    Function hasKey

    diff --git a/functions/hasProperty.html b/functions/hasProperty.html index f629cbcad..2185b7e96 100644 --- a/functions/hasProperty.html +++ b/functions/hasProperty.html @@ -1 +1 @@ -hasProperty | type-plus - v8.0.0-beta.6

    Function hasProperty

    +hasProperty | type-plus - v8.0.0-beta.6

    Function hasProperty

    diff --git a/functions/inspect.html b/functions/inspect.html index d721b7f70..deb210938 100644 --- a/functions/inspect.html +++ b/functions/inspect.html @@ -1,2 +1,2 @@ inspect | type-plus - v8.0.0-beta.6

    Function inspect

    • Inspects the value and returns it.

      -

      Type Parameters

      • T

      Parameters

      • value: T
      • inspector: ((value: Readonly<T>) => void) = console.dir
          • (value): void
          • Parameters

            • value: Readonly<T>

            Returns void

      Returns T

    +

    Type Parameters

    Parameters

    Returns T

    diff --git a/functions/isConstructor.html b/functions/isConstructor.html index 6f63861a7..a60588002 100644 --- a/functions/isConstructor.html +++ b/functions/isConstructor.html @@ -4,4 +4,4 @@

    If the subject is an arrow function, it can still return true after compilation.

    Thus this function is not safe to use.

    -
    +
    diff --git a/functions/isInstanceof.html b/functions/isInstanceof.html index 732cab831..f5dede72e 100644 --- a/functions/isInstanceof.html +++ b/functions/isInstanceof.html @@ -1,2 +1,2 @@ isInstanceof | type-plus - v8.0.0-beta.6

    Function isInstanceof

    +

    Type Parameters

    Parameters

    Returns subject is InstanceType<T>

    diff --git a/functions/isPromise.html b/functions/isPromise.html index e2e8b0764..b2287f03b 100644 --- a/functions/isPromise.html +++ b/functions/isPromise.html @@ -1 +1 @@ -isPromise | type-plus - v8.0.0-beta.6

    Function isPromise

    +isPromise | type-plus - v8.0.0-beta.6

    Function isPromise

    diff --git a/functions/isSystemError.html b/functions/isSystemError.html index 78dcb5aab..f68853929 100644 --- a/functions/isSystemError.html +++ b/functions/isSystemError.html @@ -1,4 +1,4 @@ isSystemError | type-plus - v8.0.0-beta.6

    Function isSystemError

    +

    Type Parameters

    Parameters

    Returns err is SystemErrors[C]

    diff --git a/functions/isType.html b/functions/isType.html index 6c1abc4de..1a2da7d76 100644 --- a/functions/isType.html +++ b/functions/isType.html @@ -1,6 +1,6 @@ isType | type-plus - v8.0.0-beta.6

    Function isType

    Properties

    Type Parameters

    • T

    Parameters

    • subject: T

    Returns subject is T

  • Is the subject of type T, satisfying the supplied validator

    +

    Type Parameters

    • T

    Parameters

    • subject: unknown
    • validator: ((s: T) => unknown)
        • (s): unknown
        • Parameters

          Returns unknown

    Returns subject is T

  • Properties

    Methods

    equal f t @@ -8,10 +8,10 @@

    Type Parameters

    • _S extends never

    Returns unknown

    use isType<T>() or testType.never<T>() instead

  • (subject): subject is never
  • Check is the value is type never

    Parameters

    • subject: never

    Returns subject is never

    use isType<T>() or testType.never<T>() instead

    -
  • Methods

    • Are types A and B equals/not equals. +

    Methods

    • Are types A and B equals/not equals. Easier to use than isType.t<>() and isType.f<>(), when doing type level only equality comparison as you don't have to import Equal<>.

      Type Parameters

      • _C
      • A
      • B

      Returns void

      use testType.equal() instead

      -
    +
    diff --git a/functions/literalArray.html b/functions/literalArray.html index 93f3ceaff..f8607997f 100644 --- a/functions/literalArray.html +++ b/functions/literalArray.html @@ -1,3 +1,3 @@ literalArray | type-plus - v8.0.0-beta.6

    Function literalArray

    • 🦴 utilities

      return an array whose items are restricted to the provided literals.

      -

      Type Parameters

      • T extends string | number | symbol

      Parameters

      • Rest...entries: T[]

      Returns T[]

    +

    Type Parameters

    Parameters

    Returns T[]

    diff --git a/functions/mapKey.html b/functions/mapKey.html index 9516cf2c9..e25c1d2ce 100644 --- a/functions/mapKey.html +++ b/functions/mapKey.html @@ -1 +1 @@ -mapKey | type-plus - v8.0.0-beta.6

    Function mapKey

    • Type Parameters

      • R
      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => R)
          • (this, key, index, obj, subject): R
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns R

      • OptionalthisArg: T

      Returns R[]

    +mapKey | type-plus - v8.0.0-beta.6

    Function mapKey

    • Type Parameters

      • R
      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => R)
          • (this, key, index, obj, subject): R
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns R

      • OptionalthisArg: T

      Returns R[]

    diff --git a/functions/mapProperties.html b/functions/mapProperties.html index ed16f27de..a37328e55 100644 --- a/functions/mapProperties.html +++ b/functions/mapProperties.html @@ -3,4 +3,4 @@ https://stackoverflow.com/questions/53964071/how-to-dynamically-create-mapped-type-in-typescript

    ramda has a similar function (mapObjIndexed()) with different parameter order. I keep this parameter order because this parameter order provides better type inference.

    -

    Type Parameters

    Parameters

    Returns {
        [K in keyof Subject]: ResultProp
    }

    +

    Type Parameters

    Parameters

    Returns {
        [K in keyof Subject]: ResultProp
    }

    diff --git a/functions/mapSeries.html b/functions/mapSeries.html index 93142599d..c11b58ebe 100644 --- a/functions/mapSeries.html +++ b/functions/mapSeries.html @@ -1 +1 @@ -mapSeries | type-plus - v8.0.0-beta.6

    Function mapSeries

    +mapSeries | type-plus - v8.0.0-beta.6

    Function mapSeries

    diff --git a/functions/merge-1.html b/functions/merge-1.html index 094c9fa42..f17b92fe5 100644 --- a/functions/merge-1.html +++ b/functions/merge-1.html @@ -3,4 +3,4 @@

    Type Parameters

    Parameters

    Returns Merge<A, B>

    merge({ a: 1 }, {} as { a?: string | undefined }) // { a: number | string }
     
    -
    +
    diff --git a/functions/nominalMatch.html b/functions/nominalMatch.html index 34aa7894e..a16af5629 100644 --- a/functions/nominalMatch.html +++ b/functions/nominalMatch.html @@ -1 +1 @@ -nominalMatch | type-plus - v8.0.0-beta.6

    Function nominalMatch

    +nominalMatch | type-plus - v8.0.0-beta.6

    Function nominalMatch

    diff --git a/functions/omit-1.html b/functions/omit-1.html index 649f0a1d8..92c20c6d1 100644 --- a/functions/omit-1.html +++ b/functions/omit-1.html @@ -1 +1 @@ -omit | type-plus - v8.0.0-beta.6

    Function omit

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1

      Returns Omit<T, P1>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2

      Returns Omit<T, P1 | P2>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3

      Returns Omit<T, P1 | P2 | P3>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4
      • prop5: P5

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol
      • P12 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11
          | P12>

    • Type Parameters

      • T extends AnyRecord
      • Props extends string | number | symbol

      Parameters

      • subject: T
      • Rest...props: Props[]

      Returns Omit<T, Props>

    +omit | type-plus - v8.0.0-beta.6

    Function omit

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1

      Returns Omit<T, P1>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2

      Returns Omit<T, P1 | P2>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3

      Returns Omit<T, P1 | P2 | P3>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4
      • prop5: P5

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol
      • P12 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11
          | P12>

    • Type Parameters

      • T extends AnyRecord
      • Props extends string | number | symbol

      Parameters

      • subject: T
      • Rest...props: Props[]

      Returns Omit<T, Props>

    diff --git a/functions/pick-2.html b/functions/pick-2.html index 9470baa31..9c1847ac6 100644 --- a/functions/pick-2.html +++ b/functions/pick-2.html @@ -1 +1 @@ -pick | type-plus - v8.0.0-beta.6

    Function pick

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1

      Returns Pick<T, P1>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2

      Returns Pick<T, P1 | P2>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3

      Returns Pick<T, P1 | P2 | P3>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4
      • prop5: P5

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol
      • P12 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11
          | P12>

    • Type Parameters

      • T extends AnyRecord
      • Props extends string | number | symbol

      Parameters

      • subject: T
      • Rest...props: Props[]

      Returns Pick<T, Props>

    +pick | type-plus - v8.0.0-beta.6

    Function pick

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1

      Returns Pick<T, P1>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2

      Returns Pick<T, P1 | P2>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3

      Returns Pick<T, P1 | P2 | P3>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4
      • prop5: P5

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol
      • P12 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11
          | P12>

    • Type Parameters

      • T extends AnyRecord
      • Props extends string | number | symbol

      Parameters

      • subject: T
      • Rest...props: Props[]

      Returns Pick<T, Props>

    diff --git a/functions/record.html b/functions/record.html index aac6f86d0..8337d1c01 100644 --- a/functions/record.html +++ b/functions/record.html @@ -3,4 +3,4 @@ record() will widen the keys (K) you specified in the value to form Record<Widen<K>, V>.

    You can also override it by specifying a custom record, e.g.: record<{ a: number }>()

    -

    Type Parameters

    Parameters

    Returns Record<Widen<K>, V>

  • Type Parameters

    • R extends Record<any, any>

    Parameters

    • Optionalvalue: R

    Returns R

  • +

    Type Parameters

    Parameters

    Returns Record<Widen<K>, V>

  • Type Parameters

    • R extends Record<any, any>

    Parameters

    • Optionalvalue: R

    Returns R

  • diff --git a/functions/reduceByKey.html b/functions/reduceByKey.html index 85361a708..3db178566 100644 --- a/functions/reduceByKey.html +++ b/functions/reduceByKey.html @@ -1 +1 @@ -reduceByKey | type-plus - v8.0.0-beta.6

    Function reduceByKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T

      Parameters

      • subject: S
      • callbackfn: ((previousValue: T, key: keyof S, currentIndex: number, array: string[], subject: S) => T)
          • (previousValue, key, currentIndex, array, subject): T
          • Parameters

            • previousValue: T
            • key: keyof S
            • currentIndex: number
            • array: string[]
            • subject: S

            Returns T

      • initialValue: T

      Returns T

    +reduceByKey | type-plus - v8.0.0-beta.6

    Function reduceByKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T

      Parameters

      • subject: S
      • callbackfn: ((previousValue: T, key: keyof S, currentIndex: number, array: string[], subject: S) => T)
          • (previousValue, key, currentIndex, array, subject): T
          • Parameters

            • previousValue: T
            • key: keyof S
            • currentIndex: number
            • array: string[]
            • subject: S

            Returns T

      • initialValue: T

      Returns T

    diff --git a/functions/reduceKey.html b/functions/reduceKey.html index b2a0aabf6..a79737dc6 100644 --- a/functions/reduceKey.html +++ b/functions/reduceKey.html @@ -1,2 +1,2 @@ reduceKey | type-plus - v8.0.0-beta.6

    Function reduceKey

    renamed to reduceByKey

    -
    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T

      Parameters

      • subject: S
      • callbackfn: ((previousValue: T, key: keyof S, currentIndex: number, array: string[], subject: S) => T)
          • (previousValue, key, currentIndex, array, subject): T
          • Parameters

            • previousValue: T
            • key: keyof S
            • currentIndex: number
            • array: string[]
            • subject: S

            Returns T

      • initialValue: T

      Returns T

    +
    diff --git a/functions/reduceWhile.html b/functions/reduceWhile.html index e185930e7..1da6c1955 100644 --- a/functions/reduceWhile.html +++ b/functions/reduceWhile.html @@ -1,4 +1,4 @@ reduceWhile | type-plus - v8.0.0-beta.6

    Function reduceWhile

    • 🦴 utilities

      reduce() with predicate for early termination. A simple version of the same function in the ramda package.

      -

      Type Parameters

      • T
      • R

      Parameters

      • predicate: ((acc: R, currentValue: T) => boolean)
          • (acc, currentValue): boolean
          • Parameters

            • acc: R
            • currentValue: T

            Returns boolean

      • callbackfn: ((previousValue: R, currentValue: T, currentIndex: number, array: T[]) => R)
          • (previousValue, currentValue, currentIndex, array): R
          • Parameters

            • previousValue: R
            • currentValue: T
            • currentIndex: number
            • array: T[]

            Returns R

      • initialValue: R
      • array: T[]

      Returns R

    +

    Type Parameters

    Parameters

    Returns R

    diff --git a/functions/replaceProperty-1.html b/functions/replaceProperty-1.html index 26e4bfdb0..6df05baa7 100644 --- a/functions/replaceProperty-1.html +++ b/functions/replaceProperty-1.html @@ -1 +1 @@ -replaceProperty | type-plus - v8.0.0-beta.6

    Function replaceProperty

    +replaceProperty | type-plus - v8.0.0-beta.6

    Function replaceProperty

    diff --git a/functions/someKey.html b/functions/someKey.html index 87d2cb1f6..a26e987c4 100644 --- a/functions/someKey.html +++ b/functions/someKey.html @@ -1 +1 @@ -someKey | type-plus - v8.0.0-beta.6

    Function someKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, array: string[], subject: S) => unknown)
          • (this, key, index, array, subject): unknown
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • array: string[]
            • subject: S

            Returns unknown

      • OptionalthisArg: T

      Returns boolean

    +someKey | type-plus - v8.0.0-beta.6

    Function someKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, array: string[], subject: S) => unknown)
          • (this, key, index, array, subject): unknown
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • array: string[]
            • subject: S

            Returns unknown

      • OptionalthisArg: T

      Returns boolean

    diff --git a/functions/split-1.html b/functions/split-1.html index a17046c3a..3e8fc8728 100644 --- a/functions/split-1.html +++ b/functions/split-1.html @@ -1,3 +1,3 @@ split | type-plus - v8.0.0-beta.6

    Function split

    +
  • Type Parameters

    • T extends AnyRecord
    • S1 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S2 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>

    Parameters

    • target: T
    • split1: S1
    • split2: S2

    Returns [Split<T, S1>, Split<T, S2>, Omit<T, keyof S1 | keyof S2>]

  • Type Parameters

    • T extends AnyRecord
    • S1 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S2 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S3 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>

    Parameters

    • target: T
    • splitter1: S1
    • splitter2: S2
    • splitter3: S3

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Omit<T, keyof S1 | keyof S2 | keyof S3>]

  • Type Parameters

    • T extends AnyRecord
    • S1 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S2 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S3 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S4 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>

    Parameters

    • target: T
    • splitter1: S1
    • splitter2: S2
    • splitter3: S3
    • splitter4: S4

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4>]

  • Type Parameters

    • T extends AnyRecord
    • S1 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S2 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S3 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S4 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S5 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>

    Parameters

    • target: T
    • splitter1: S1
    • splitter2: S2
    • splitter3: S3
    • splitter4: S4
    • splitter5: S5

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Split<T, S5>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4
        | keyof S5>]

  • Type Parameters

    • T extends AnyRecord
    • S1 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S2 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S3 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S4 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S5 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S6 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>

    Parameters

    • target: T
    • splitter1: S1
    • splitter2: S2
    • splitter3: S3
    • splitter4: S4
    • splitter5: S5
    • splitter6: S6

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Split<T, S5>, Split<T, S6>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4
        | keyof S5
        | keyof S6>]

  • Type Parameters

    • T extends AnyRecord
    • S1 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S2 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S3 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S4 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S5 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S6 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S7 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>

    Parameters

    • target: T
    • splitter1: S1
    • splitter2: S2
    • splitter3: S3
    • splitter4: S4
    • splitter5: S5
    • splitter6: S6
    • splitter7: S7

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Split<T, S5>, Split<T, S6>, Split<T, S7>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4
        | keyof S5
        | keyof S6
        | keyof S7>]

  • Type Parameters

    • T extends AnyRecord
    • S1 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S2 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S3 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S4 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S5 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S6 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S7 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S8 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>

    Parameters

    • target: T
    • splitter1: S1
    • splitter2: S2
    • splitter3: S3
    • splitter4: S4
    • splitter5: S5
    • splitter6: S6
    • splitter7: S7
    • splitter8: S8

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Split<T, S5>, Split<T, S6>, Split<T, S7>, Split<T, S8>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4
        | keyof S5
        | keyof S6
        | keyof S7
        | keyof S8>]

  • Type Parameters

    • T extends AnyRecord
    • S1 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S2 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S3 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S4 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S5 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S6 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S7 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S8 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>
    • S9 extends Partial<{
          [k in string | number | symbol]: undefined | T[k]
      }>

    Parameters

    • target: T
    • splitter1: S1
    • splitter2: S2
    • splitter3: S3
    • splitter4: S4
    • splitter5: S5
    • splitter6: S6
    • splitter7: S7
    • splitter8: S8
    • splitter9: S9

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Split<T, S5>, Split<T, S6>, Split<T, S7>, Split<T, S8>, Split<T, S9>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4
        | keyof S5
        | keyof S6
        | keyof S7
        | keyof S8
        | keyof S9>]

  • diff --git a/functions/stub.html b/functions/stub.html index 8dd242bc5..88d9373b6 100644 --- a/functions/stub.html +++ b/functions/stub.html @@ -1,19 +1,19 @@ stub | type-plus - v8.0.0-beta.6

    Function stub

    Properties

    Type Parameters

    Parameters

    • stub: T

    Returns T

  • Type Parameters

    • T

    Parameters

    Returns T

  • Properties

    Properties

    build: (<T>(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)) => ((stub?: RecursivePartial<T>) => T))

    Type declaration

    builder: (<T>(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)) => {
        create(): ((stub?: RecursivePartial<T>) => T);
        with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)): { with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T> | undefined) => RecursivePartial<T>)): ...; create(): (stub?: RecursivePartial<...> | undefined) => T; };
    })

    Type declaration

    builder: (<T>(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)) => {
        create(): ((stub?: RecursivePartial<T>) => T);
        with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)): { with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T> | undefined) => RecursivePartial<T>)): ...; create(): (stub?: RecursivePartial<...> | undefined) => T; };
    })

    Type declaration

      • <T>(init): {
            create(): ((stub?: RecursivePartial<T>) => T);
            with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)): { with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T> | undefined) => RecursivePartial<T>)): ...; create(): (stub?: RecursivePartial<...> | undefined) => T; };
        }
      • Create a builder for a stub function of type T.

        The builder contains two methods:

        .with(): adds additional handler or partial stub. .create(): creates the final stub function.

        Type Parameters

        • T

        Parameters

        Returns {
            create(): ((stub?: RecursivePartial<T>) => T);
            with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)): { with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T> | undefined) => RecursivePartial<T>)): ...; create(): (stub?: RecursivePartial<...> | undefined) => T; };
        }

        • create:function
        • with:function
        • with:function
          • Adds an init object or handler to the builder.

            If init is an object, it will be merged with the stub object. If init is a function, it will be called with the stub object.

            Parameters

            Returns { with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T> | undefined) => RecursivePartial<T>)): ...; create(): (stub?: RecursivePartial<...> | undefined) => T; }

            The builder instance.

            -
        const b = stub.builder<{ a: number; b: string }>({ a: 1 }).with({ b: 'b' }).create()
        b({ a: 2 }) // { a: 2, b: 'b' } +
    const b = stub.builder<{ a: number; b: string }>({ a: 1 }).with({ b: 'b' }).create()
    b({ a: 2 }) // { a: 2, b: 'b' }
    -
    +
    diff --git a/functions/transformMaybePromise.html b/functions/transformMaybePromise.html index 611f00683..9347c71fd 100644 --- a/functions/transformMaybePromise.html +++ b/functions/transformMaybePromise.html @@ -1,7 +1,7 @@ transformMaybePromise | type-plus - v8.0.0-beta.6

    Function transformMaybePromise

    • Transforms the value within the promise.

      Type Parameters

      • T
      • R

      Parameters

      • value: Promise<T>
      • transformer: ((value: T) => R)
          • (value): R
          • Parameters

            • value: T

            Returns R

      Returns Promise<R>

      a new promise with the transformed result.

      -
    • Transforms the value, or if the value is a promise, +

    • Transforms the value, or if the value is a promise, transform the resolved value of the promise.

      Type Parameters

      • T
      • R

      Parameters

      • value: T
      • transformer: ((value: T) => R)
          • (value): R
          • Parameters

            • value: T

            Returns R

      Returns T extends Promise<any>
          ? Promise<R>
          : R

      the transformed result, or if the value is a promise, a new promse with the transformed result.

      -
    +
    diff --git a/functions/typeOverrideIncompatible.html b/functions/typeOverrideIncompatible.html index 171d9e2a7..a209f1c8a 100644 --- a/functions/typeOverrideIncompatible.html +++ b/functions/typeOverrideIncompatible.html @@ -1 +1 @@ -typeOverrideIncompatible | type-plus - v8.0.0-beta.6

    Function typeOverrideIncompatible

    +typeOverrideIncompatible | type-plus - v8.0.0-beta.6

    Function typeOverrideIncompatible

    diff --git a/interfaces/ArrayPlus.CommonPropKeys.DefaultOptions.html b/interfaces/ArrayPlus.CommonPropKeys.DefaultOptions.html index 046ef400d..808b6b3bd 100644 --- a/interfaces/ArrayPlus.CommonPropKeys.DefaultOptions.html +++ b/interfaces/ArrayPlus.CommonPropKeys.DefaultOptions.html @@ -1,5 +1,5 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    +
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    diff --git a/interfaces/ArrayPlus.CommonPropKeys.Options.html b/interfaces/ArrayPlus.CommonPropKeys.Options.html index 882ef3048..180594b1a 100644 --- a/interfaces/ArrayPlus.CommonPropKeys.Options.html +++ b/interfaces/ArrayPlus.CommonPropKeys.Options.html @@ -4,5 +4,5 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    +
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    diff --git a/interfaces/ArrayPlus.ElementMatch.DefaultOptions.html b/interfaces/ArrayPlus.ElementMatch.DefaultOptions.html index 431135f71..14fd2681b 100644 --- a/interfaces/ArrayPlus.ElementMatch.DefaultOptions.html +++ b/interfaces/ArrayPlus.ElementMatch.DefaultOptions.html @@ -1,5 +1,5 @@ -DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<Criteria>

    interface DefaultOptions<Criteria> {
        $notMatch: never;
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    $notMatch +DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<Criteria>

    interface DefaultOptions<Criteria> {
        $notMatch: never;
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    $notMatch: never
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    +

    Properties

    $notMatch: never
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    diff --git a/interfaces/ArrayPlus.ElementMatch.Options.html b/interfaces/ArrayPlus.ElementMatch.Options.html index ee43ca8db..749f11190 100644 --- a/interfaces/ArrayPlus.ElementMatch.Options.html +++ b/interfaces/ArrayPlus.ElementMatch.Options.html @@ -1,5 +1,5 @@ -Options | type-plus - v8.0.0-beta.6
    interface Options {
        $notMatch?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    $notMatch? +Options | type-plus - v8.0.0-beta.6
    interface Options {
        $notMatch?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    $notMatch?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    +

    Properties

    $notMatch?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    diff --git a/interfaces/ArrayPlus.Filter.DefaultOptions.html b/interfaces/ArrayPlus.Filter.DefaultOptions.html index eb0d1c2e1..e8ecd4af5 100644 --- a/interfaces/ArrayPlus.Filter.DefaultOptions.html +++ b/interfaces/ArrayPlus.Filter.DefaultOptions.html @@ -1,3 +1,3 @@ -DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $never: never;
        $notArray: never[];
    }

    Properties

    $never +DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $never: never;
        $notArray: never[];
    }

    Properties

    Properties

    $never: never
    $notArray: never[]
    +

    Properties

    $never: never
    $notArray: never[]
    diff --git a/interfaces/ArrayPlus.Filter.Options.html b/interfaces/ArrayPlus.Filter.Options.html index 148791b2e..dd95b9c9c 100644 --- a/interfaces/ArrayPlus.Filter.Options.html +++ b/interfaces/ArrayPlus.Filter.Options.html @@ -4,6 +4,6 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
        $notArray?: unknown;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $never?: unknown;
        $notArray?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    $notArray?: unknown
    +

    Properties

    $never?: unknown
    $notArray?: unknown
    diff --git a/interfaces/ArrayPlus.Find.DefaultOptions.html b/interfaces/ArrayPlus.Find.DefaultOptions.html index 7e1331d4f..8aedec8b7 100644 --- a/interfaces/ArrayPlus.Find.DefaultOptions.html +++ b/interfaces/ArrayPlus.Find.DefaultOptions.html @@ -1,10 +1,10 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<Criteria>

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions<Criteria> {
        $never: never;
        $notMatch: never;
        $tuple: "does not support tuple. Please use `FindFirst` or `TuplePlus.Find` instead.";
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    interface DefaultOptions<Criteria> {
        $never: never;
        $notMatch: never;
        $tuple: "does not support tuple. Please use `FindFirst` or `TuplePlus.Find` instead.";
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    $never: never
    $notMatch: never
    $tuple
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    +

    Properties

    $never: never
    $notMatch: never
    $tuple
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    diff --git a/interfaces/ArrayPlus.Find.Options.html b/interfaces/ArrayPlus.Find.Options.html index 45cdc091a..eb5447423 100644 --- a/interfaces/ArrayPlus.Find.Options.html +++ b/interfaces/ArrayPlus.Find.Options.html @@ -4,10 +4,10 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
        $notMatch?: unknown;
        $tuple?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $never?: unknown;
        $notMatch?: unknown;
        $tuple?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    $never?: unknown
    $notMatch?: unknown
    $tuple?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    +

    Properties

    $never?: unknown
    $notMatch?: unknown
    $tuple?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    diff --git a/interfaces/ArrayPlus.IsReadonly.DefaultOptions.html b/interfaces/ArrayPlus.IsReadonly.DefaultOptions.html index 4c604a16d..6227f2399 100644 --- a/interfaces/ArrayPlus.IsReadonly.DefaultOptions.html +++ b/interfaces/ArrayPlus.IsReadonly.DefaultOptions.html @@ -1,5 +1,5 @@ -DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $else: false;
        $never: false;
        $notArray: false;
        $then: true;
    }

    Properties

    $else +DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $else: false;
        $never: false;
        $notArray: false;
        $then: true;
    }

    Properties

    $else
    $never
    $notArray
    $then
    +

    Properties

    $else
    $never
    $notArray
    $then
    diff --git a/interfaces/ArrayPlus.IsReadonly.Options.html b/interfaces/ArrayPlus.IsReadonly.Options.html index 31a550a52..a2c9aa49a 100644 --- a/interfaces/ArrayPlus.IsReadonly.Options.html +++ b/interfaces/ArrayPlus.IsReadonly.Options.html @@ -4,14 +4,14 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $else?: unknown;
        $never?: unknown;
        $notArray?: unknown;
        $then?: unknown;
        selection?: "predicate" | "filter";
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $else?: unknown;
        $never?: unknown;
        $notArray?: unknown;
        $then?: unknown;
        selection?: "predicate" | "filter";
    }

    Hierarchy (view full)

    Properties

    $else?: unknown
    $never?: unknown
    $notArray?: unknown
    $then?: unknown
    selection?: "predicate" | "filter"

    Specifies which default selection logic to use.

    +

    Properties

    $else?: unknown
    $never?: unknown
    $notArray?: unknown
    $then?: unknown
    selection?: "predicate" | "filter"

    Specifies which default selection logic to use.

    filter returns T when the condition is met, and returns never otherwise.

    predicate returns boolean depends on the condition.

    Note that setting $then and $else overrides the default selection logic.

    -
    +
    diff --git a/interfaces/Box.DefaultOptions.html b/interfaces/Box.DefaultOptions.html index f86ad6657..74be92d57 100644 --- a/interfaces/Box.DefaultOptions.html +++ b/interfaces/Box.DefaultOptions.html @@ -1,2 +1,2 @@ -DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions

    interface DefaultOptions {
        $notBoxable: never;
    }

    Properties

    Properties

    $notBoxable: never
    +DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions

    interface DefaultOptions {
        $notBoxable: never;
    }

    Properties

    Properties

    $notBoxable: never
    diff --git a/interfaces/Branded.html b/interfaces/Branded.html index f9f8902c9..ec8c26da1 100644 --- a/interfaces/Branded.html +++ b/interfaces/Branded.html @@ -1,4 +1,4 @@ Branded | type-plus - v8.0.0-beta.6

    Interface Branded<B, T>

    A branded type of B with value of T.

    -
    interface Branded<B, T> {
        [typeSym]: B;
        [valueSym]: T;
    }

    Type Parameters

    • B extends string
    • T

    Properties

    interface Branded<B, T> {
        [typeSym]: B;
        [valueSym]: T;
    }

    Type Parameters

    • B extends string
    • T

    Properties

    Properties

    [typeSym]: B
    [valueSym]: T
    +

    Properties

    [typeSym]: B
    [valueSym]: T
    diff --git a/interfaces/CommonPropKeys.DefaultOptions.html b/interfaces/CommonPropKeys.DefaultOptions.html index 165bb4b61..d3ab6ae57 100644 --- a/interfaces/CommonPropKeys.DefaultOptions.html +++ b/interfaces/CommonPropKeys.DefaultOptions.html @@ -1,5 +1,5 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    +
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    diff --git a/interfaces/CommonPropKeys.Options.html b/interfaces/CommonPropKeys.Options.html index d2b563277..8eb7daded 100644 --- a/interfaces/CommonPropKeys.Options.html +++ b/interfaces/CommonPropKeys.Options.html @@ -4,5 +4,5 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    +
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    diff --git a/interfaces/DropFirst.DefaultOptions.html b/interfaces/DropFirst.DefaultOptions.html index 27f752ec5..9b5d4f4b6 100644 --- a/interfaces/DropFirst.DefaultOptions.html +++ b/interfaces/DropFirst.DefaultOptions.html @@ -1,3 +1,3 @@ -DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<T>

    interface DefaultOptions<T> {
        $array: T;
        caseEmptyTuple: [];
    }

    Type Parameters

    • T

    Properties

    $array +DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<T>

    interface DefaultOptions<T> {
        $array: T;
        caseEmptyTuple: [];
    }

    Type Parameters

    • T

    Properties

    $array: T
    caseEmptyTuple: []
    +

    Properties

    $array: T
    caseEmptyTuple: []
    diff --git a/interfaces/DropFirst.Options.html b/interfaces/DropFirst.Options.html index 5ac5d565c..2aa486f9e 100644 --- a/interfaces/DropFirst.Options.html +++ b/interfaces/DropFirst.Options.html @@ -1,3 +1,3 @@ -Options | type-plus - v8.0.0-beta.6

    Interface Options

    interface Options {
        $array?: unknown;
        caseEmptyTuple?: unknown;
    }

    Properties

    $array? +Options | type-plus - v8.0.0-beta.6

    Interface Options

    interface Options {
        $array?: unknown;
        caseEmptyTuple?: unknown;
    }

    Properties

    $array?: unknown
    caseEmptyTuple?: unknown
    +

    Properties

    $array?: unknown
    caseEmptyTuple?: unknown
    diff --git a/interfaces/DropLast.DefaultOptions.html b/interfaces/DropLast.DefaultOptions.html index 7fc993a62..f86af20c5 100644 --- a/interfaces/DropLast.DefaultOptions.html +++ b/interfaces/DropLast.DefaultOptions.html @@ -1,3 +1,3 @@ -DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<T>

    interface DefaultOptions<T> {
        $array: T;
        caseEmptyTuple: [];
    }

    Type Parameters

    • T

    Properties

    $array +DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<T>

    interface DefaultOptions<T> {
        $array: T;
        caseEmptyTuple: [];
    }

    Type Parameters

    • T

    Properties

    $array: T
    caseEmptyTuple: []
    +

    Properties

    $array: T
    caseEmptyTuple: []
    diff --git a/interfaces/DropLast.Options.html b/interfaces/DropLast.Options.html index 6c328e42f..a5d7af4e9 100644 --- a/interfaces/DropLast.Options.html +++ b/interfaces/DropLast.Options.html @@ -1,3 +1,3 @@ -Options | type-plus - v8.0.0-beta.6

    Interface Options

    interface Options {
        $array?: unknown;
        caseEmptyTuple?: unknown;
    }

    Properties

    $array? +Options | type-plus - v8.0.0-beta.6

    Interface Options

    interface Options {
        $array?: unknown;
        caseEmptyTuple?: unknown;
    }

    Properties

    $array?: unknown
    caseEmptyTuple?: unknown
    +

    Properties

    $array?: unknown
    caseEmptyTuple?: unknown
    diff --git a/interfaces/Failed.html b/interfaces/Failed.html index 0761c793c..79ef342fe 100644 --- a/interfaces/Failed.html +++ b/interfaces/Failed.html @@ -6,5 +6,5 @@
    type T = Failed<'error message'>
     
    -
    interface Failed<Msg> {
        [uniSym]: Msg;
    }

    Type Parameters

    • Msg extends string

    Properties

    Properties

    [uniSym]: Msg
    +
    interface Failed<Msg> {
        [uniSym]: Msg;
    }

    Type Parameters

    • Msg extends string

    Properties

    Properties

    [uniSym]: Msg
    diff --git a/interfaces/FailedT.html b/interfaces/FailedT.html index b232f2832..eda4f21b4 100644 --- a/interfaces/FailedT.html +++ b/interfaces/FailedT.html @@ -2,5 +2,5 @@

    Use this to add a generic type to the failed type.

    e.g. FailedT<'missing', number | string>

    It's recommended to create custom failed types instead of using this to provide better message.

    -
    interface FailedT<Msg, _T> {
        [uniSym]: Msg;
    }

    Type Parameters

    • Msg extends string
    • _T

    Properties

    Properties

    [uniSym]: Msg
    +
    interface FailedT<Msg, _T> {
        [uniSym]: Msg;
    }

    Type Parameters

    • Msg extends string
    • _T

    Properties

    Properties

    [uniSym]: Msg
    diff --git a/interfaces/FindFirst.DefaultOptions.html b/interfaces/FindFirst.DefaultOptions.html index 9f9109fc3..007bea166 100644 --- a/interfaces/FindFirst.DefaultOptions.html +++ b/interfaces/FindFirst.DefaultOptions.html @@ -1,7 +1,7 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<Criteria>

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions<Criteria> {
        $array: "does not support array. Please use `FindFirst` or `ArrayPlus.Find` instead.";
        $emptyTuple: never;
        $never: never;
        $notMatch: never;
        $tuple: "does not support tuple. Please use `FindFirst` or `TuplePlus.Find` instead.";
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    interface DefaultOptions<Criteria> {
        $array: "does not support array. Please use `FindFirst` or `ArrayPlus.Find` instead.";
        $emptyTuple: never;
        $never: never;
        $notMatch: never;
        $tuple: "does not support tuple. Please use `FindFirst` or `TuplePlus.Find` instead.";
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    $array
    $emptyTuple: never
    $never: never
    $notMatch: never
    $tuple
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    +

    Properties

    $array
    $emptyTuple: never
    $never: never
    $notMatch: never
    $tuple
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    diff --git a/interfaces/FindFirst.Options.html b/interfaces/FindFirst.Options.html index 75fe2eded..065d6c808 100644 --- a/interfaces/FindFirst.Options.html +++ b/interfaces/FindFirst.Options.html @@ -4,7 +4,7 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $array?: unknown;
        $emptyTuple?: unknown;
        $never?: unknown;
        $notMatch?: unknown;
        $tuple?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $array?: unknown;
        $emptyTuple?: unknown;
        $never?: unknown;
        $notMatch?: unknown;
        $tuple?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    $array?: unknown
    $emptyTuple?: unknown
    $never?: unknown
    $notMatch?: unknown
    $tuple?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    +

    Properties

    $array?: unknown
    $emptyTuple?: unknown
    $never?: unknown
    $notMatch?: unknown
    $tuple?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    diff --git a/interfaces/Flavored.html b/interfaces/Flavored.html index 7fbaa192a..ec8c2162a 100644 --- a/interfaces/Flavored.html +++ b/interfaces/Flavored.html @@ -1,3 +1,3 @@ Flavored | type-plus - v8.0.0-beta.6

    Interface Flavored<F>

    A flavored type of F

    -
    interface Flavored<F> {
        [typeSym]?: F;
    }

    Type Parameters

    • F extends string

    Properties

    Properties

    [typeSym]?: F
    +
    interface Flavored<F> {
        [typeSym]?: F;
    }

    Type Parameters

    • F extends string

    Properties

    Properties

    [typeSym]?: F
    diff --git a/interfaces/FlavoredUnit.html b/interfaces/FlavoredUnit.html index 010a6110b..4245633ff 100644 --- a/interfaces/FlavoredUnit.html +++ b/interfaces/FlavoredUnit.html @@ -1,4 +1,4 @@ FlavoredUnit | type-plus - v8.0.0-beta.6

    Interface FlavoredUnit<F, T>

    A special flavored type for special types.

    -
    interface FlavoredUnit<F, T> {
        [typeSym]?: F;
        [valueSym]: T;
    }

    Type Parameters

    • F extends string
    • T

    Properties

    interface FlavoredUnit<F, T> {
        [typeSym]?: F;
        [valueSym]: T;
    }

    Type Parameters

    • F extends string
    • T

    Properties

    [typeSym]?: F
    [valueSym]: T
    +

    Properties

    [typeSym]?: F
    [valueSym]: T
    diff --git a/interfaces/Head.DefaultOptions.html b/interfaces/Head.DefaultOptions.html index 60f6bbd69..c733b764a 100644 --- a/interfaces/Head.DefaultOptions.html +++ b/interfaces/Head.DefaultOptions.html @@ -1,6 +1,6 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions {
        $never: never;
        caseEmptyTuple: never;
    }

    Hierarchy (view full)

    Properties

    interface DefaultOptions {
        $never: never;
        caseEmptyTuple: never;
    }

    Hierarchy (view full)

    Properties

    $never: never
    caseEmptyTuple: never
    +

    Properties

    $never: never
    caseEmptyTuple: never
    diff --git a/interfaces/Head.Options.html b/interfaces/Head.Options.html index 6be2f57af..a3c43ee90 100644 --- a/interfaces/Head.Options.html +++ b/interfaces/Head.Options.html @@ -4,6 +4,6 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
        caseEmptyTuple?: unknown;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $never?: unknown;
        caseEmptyTuple?: unknown;
    }

    Hierarchy (view full)

    Properties

    $never?: unknown
    caseEmptyTuple?: unknown
    +

    Properties

    $never?: unknown
    caseEmptyTuple?: unknown
    diff --git a/interfaces/Last.DefaultOptions.html b/interfaces/Last.DefaultOptions.html index 4b47bf123..d4497c94d 100644 --- a/interfaces/Last.DefaultOptions.html +++ b/interfaces/Last.DefaultOptions.html @@ -1,6 +1,6 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions {
        $never: never;
        caseEmptyTuple: never;
    }

    Hierarchy (view full)

    Properties

    interface DefaultOptions {
        $never: never;
        caseEmptyTuple: never;
    }

    Hierarchy (view full)

    Properties

    $never: never
    caseEmptyTuple: never
    +

    Properties

    $never: never
    caseEmptyTuple: never
    diff --git a/interfaces/Last.Options.html b/interfaces/Last.Options.html index d33a63591..f7d08bcf1 100644 --- a/interfaces/Last.Options.html +++ b/interfaces/Last.Options.html @@ -4,6 +4,6 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
        caseEmptyTuple?: unknown;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $never?: unknown;
        caseEmptyTuple?: unknown;
    }

    Hierarchy (view full)

    Properties

    $never?: unknown
    caseEmptyTuple?: unknown
    +

    Properties

    $never?: unknown
    caseEmptyTuple?: unknown
    diff --git a/interfaces/ObjectPlus.Merge.DefaultOptions.html b/interfaces/ObjectPlus.Merge.DefaultOptions.html index 011f95365..39472df56 100644 --- a/interfaces/ObjectPlus.Merge.DefaultOptions.html +++ b/interfaces/ObjectPlus.Merge.DefaultOptions.html @@ -1,2 +1,2 @@ -DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $never: never;
    }

    Properties

    Properties

    $never: never
    +DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $never: never;
    }

    Properties

    Properties

    $never: never
    diff --git a/interfaces/TuplePlus.CommonPropKeys.DefaultOptions.html b/interfaces/TuplePlus.CommonPropKeys.DefaultOptions.html index 9a8432051..b4a8c181c 100644 --- a/interfaces/TuplePlus.CommonPropKeys.DefaultOptions.html +++ b/interfaces/TuplePlus.CommonPropKeys.DefaultOptions.html @@ -1,5 +1,5 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    +
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    diff --git a/interfaces/TuplePlus.CommonPropKeys.Options.html b/interfaces/TuplePlus.CommonPropKeys.Options.html index d514da514..1406e5488 100644 --- a/interfaces/TuplePlus.CommonPropKeys.Options.html +++ b/interfaces/TuplePlus.CommonPropKeys.Options.html @@ -4,5 +4,5 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    +
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    diff --git a/interfaces/TuplePlus.Find.DefaultOptions.html b/interfaces/TuplePlus.Find.DefaultOptions.html index e8c487ab3..26185ac6a 100644 --- a/interfaces/TuplePlus.Find.DefaultOptions.html +++ b/interfaces/TuplePlus.Find.DefaultOptions.html @@ -1,11 +1,11 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<Criteria>

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions<Criteria> {
        $array: "does not support array. Please use `FindFirst` or `ArrayPlus.Find` instead.";
        $emptyTuple: never;
        $never: never;
        $notMatch: never;
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    interface DefaultOptions<Criteria> {
        $array: "does not support array. Please use `FindFirst` or `ArrayPlus.Find` instead.";
        $emptyTuple: never;
        $never: never;
        $notMatch: never;
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    $array
    $emptyTuple: never
    $never: never
    $notMatch: never
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    +

    Properties

    $array
    $emptyTuple: never
    $never: never
    $notMatch: never
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    diff --git a/interfaces/TuplePlus.Find.Options.html b/interfaces/TuplePlus.Find.Options.html index 7fdad0324..207a0d88c 100644 --- a/interfaces/TuplePlus.Find.Options.html +++ b/interfaces/TuplePlus.Find.Options.html @@ -4,11 +4,11 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $array?: unknown;
        $emptyTuple?: unknown;
        $never?: unknown;
        $notMatch?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $array?: unknown;
        $emptyTuple?: unknown;
        $never?: unknown;
        $notMatch?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    $array?: unknown
    $emptyTuple?: unknown
    $never?: unknown
    $notMatch?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    +

    Properties

    $array?: unknown
    $emptyTuple?: unknown
    $never?: unknown
    $notMatch?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    diff --git a/interfaces/TypePlusOptions.NotArray.html b/interfaces/TypePlusOptions.NotArray.html index d6abb7b61..af56b98c3 100644 --- a/interfaces/TypePlusOptions.NotArray.html +++ b/interfaces/TypePlusOptions.NotArray.html @@ -1,2 +1,2 @@ -NotArray | type-plus - v8.0.0-beta.6
    interface NotArray {
        $notArray?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $notArray?: unknown
    +NotArray | type-plus - v8.0.0-beta.6
    interface NotArray {
        $notArray?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $notArray?: unknown
    diff --git a/interfaces/_Type.html b/interfaces/_Type.html index 603d451c6..ae8714e49 100644 --- a/interfaces/_Type.html +++ b/interfaces/_Type.html @@ -1,6 +1,6 @@ $Type | type-plus - v8.0.0-beta.6

    Interface $Type<T, M, V>

    🧰 type util

    Special type-plus interface to represent unique types with messages.

    -
    interface $Type<T, M, V> {
        message: M;
        type: T;
        value: V;
    }

    Type Parameters

    • T extends string
    • M extends string = ""
    • V = unknown

    Properties

    interface $Type<T, M, V> {
        message: M;
        type: T;
        value: V;
    }

    Type Parameters

    • T extends string
    • M extends string = ""
    • V = unknown

    Properties

    Properties

    message: M
    type: T
    value: V
    +

    Properties

    message: M
    type: T
    value: V
    diff --git a/interfaces/testType.TestType.html b/interfaces/testType.TestType.html index 0999903b8..371ea96f9 100644 --- a/interfaces/testType.TestType.html +++ b/interfaces/testType.TestType.html @@ -1,4 +1,4 @@ -TestType | type-plus - v8.0.0-beta.6

    Interface TestType

    interface TestType {
        any<T>(expected: IsAny<T>): T;
        array<T>(expected: IsArray<T, {
            exact: true;
        }>): T;
        bigint<T>(expected: IsBigint<T, {
            distributive: false;
        }>): T;
        boolean<T>(expected: IsBoolean<T, {
            distributive: false;
        }>): T;
        canAssign<A, B>(expected: Assignable<A, B>): A;
        equal<A, B, C>(expected: IsEqual<A, B> & IsEqual<A, C>): A;
        equal<A, B>(expected: IsEqual<A, B>): A;
        false<T>(expected: IsFalse<T, {
            distributive: false;
        }>): T;
        function<T>(expected: IsFunction<T, {
            distributive: false;
        }>): T;
        inspect<T>(handler: ((t: InspectedType<T>) => unknown)): T;
        never<T>(expected: IsNever<T>): T;
        null<T>(expected: IsNull<T, {
            distributive: false;
        }>): T;
        number<T>(expected: IsNumber<T, {
            distributive: false;
        }>): T;
        object<T>(expected: IsObject<T, {
            distributive: false;
        }>): T;
        strictBigint<T>(expected: IsBigint<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictBoolean<T>(expected: IsBoolean<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictCanAssign<A, B>(expected: Assignable<A, B, {
            distributive: false;
        }>): A;
        strictFunction<T>(expected: IsStrictFunction<T, {
            distributive: false;
        }>): T;
        strictNumber<T>(expected: IsNumber<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictString<T>(expected: IsString<T, {
            distributive: false;
            exact: true;
        }>): T;
        string<T>(expected: IsString<T, {
            distributive: false;
        }>): T;
        symbol<T>(expected: IsSymbol<T, {
            distributive: false;
        }>): T;
        true<T>(expected: IsTrue<T, {
            distributive: false;
        }>): T;
        tuple<T>(expected: IsTuple<T, {
            distributive: false;
        }>): T;
        undefined<T>(expected: IsUndefined<T, {
            distributive: false;
        }>): T;
        unknown<T>(expected: IsUnknown<T>): T;
        void<T>(expected: IsVoid<T, {
            distributive: false;
        }>): T;
    }

    Methods

    any +TestType | type-plus - v8.0.0-beta.6

    Interface TestType

    interface TestType {
        any<T>(expected: IsAny<T>): T;
        array<T>(expected: IsArray<T, {
            exact: true;
        }>): T;
        bigint<T>(expected: IsBigint<T, {
            distributive: false;
        }>): T;
        boolean<T>(expected: IsBoolean<T, {
            distributive: false;
        }>): T;
        canAssign<A, B>(expected: Assignable<A, B>): A;
        equal<A, B, C>(expected: IsEqual<A, B> & IsEqual<A, C>): A;
        equal<A, B>(expected: IsEqual<A, B>): A;
        false<T>(expected: IsFalse<T, {
            distributive: false;
        }>): T;
        function<T>(expected: IsFunction<T, {
            distributive: false;
        }>): T;
        inspect<T>(handler: ((t: InspectedType<T>) => unknown)): T;
        never<T>(expected: IsNever<T>): T;
        null<T>(expected: IsNull<T, {
            distributive: false;
        }>): T;
        number<T>(expected: IsNumber<T, {
            distributive: false;
        }>): T;
        object<T>(expected: IsObject<T, {
            distributive: false;
        }>): T;
        strictBigint<T>(expected: IsBigint<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictBoolean<T>(expected: IsBoolean<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictCanAssign<A, B>(expected: Assignable<A, B, {
            distributive: false;
        }>): A;
        strictFunction<T>(expected: IsStrictFunction<T, {
            distributive: false;
        }>): T;
        strictNumber<T>(expected: IsNumber<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictString<T>(expected: IsString<T, {
            distributive: false;
            exact: true;
        }>): T;
        string<T>(expected: IsString<T, {
            distributive: false;
        }>): T;
        symbol<T>(expected: IsSymbol<T, {
            distributive: false;
        }>): T;
        true<T>(expected: IsTrue<T, {
            distributive: false;
        }>): T;
        tuple<T>(expected: IsTuple<T, {
            distributive: false;
        }>): T;
        undefined<T>(expected: IsUndefined<T, {
            distributive: false;
        }>): T;
        unknown<T>(expected: IsUnknown<T>): T;
        void<T>(expected: IsVoid<T, {
            distributive: false;
        }>): T;
    }

    Methods

    any array bigint boolean @@ -26,13 +26,13 @@ void

    Methods

    • Check if A can assign to B.

      If A is a union, the check is distributive.

      Meaning the result can be boolean, @@ -43,15 +43,15 @@

      testType.canAssign<123, number> // true

      testType.canAssign<number | string, number> // boolean
      -
    • Check if type A is equal to type B and C.

      +
    • A quick way to inspect a type.

      The handler receives a InspectedType object. It contains value which is typed to T, and many other properties to inspect the behavior of T.

      @@ -63,43 +63,43 @@

      After trying out the type, remove the line.

      -
    • Check if type T is exactly never.

      +
    • Check if A can fully assign to B.

      This checks all branches in an union A are assignable to B.

      Type Parameters

      • A
      • B

      Parameters

      • expected: Assignable<A, B, {
            distributive: false;
        }>

      Returns A

      expected as A for type inspection.

      testType.strictCanAssign<number | string, number | string> // true

      testType.strictCanAssign<number | string, number> // false
      -
    • Check if type T is exactly boolean.

      +
    +
    diff --git a/modules/ArrayPlus.CommonPropKeys.html b/modules/ArrayPlus.CommonPropKeys.html index 27e4c52d3..ee97e778a 100644 --- a/modules/ArrayPlus.CommonPropKeys.html +++ b/modules/ArrayPlus.CommonPropKeys.html @@ -1,3 +1,3 @@ -CommonPropKeys | type-plus - v8.0.0-beta.6

    Namespace CommonPropKeys

    Index

    Interfaces

    DefaultOptions +CommonPropKeys | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.ElementMatch.html b/modules/ArrayPlus.ElementMatch.html index e360dd723..2cca9663c 100644 --- a/modules/ArrayPlus.ElementMatch.html +++ b/modules/ArrayPlus.ElementMatch.html @@ -1,3 +1,3 @@ -ElementMatch | type-plus - v8.0.0-beta.6

    Namespace ElementMatch

    Index

    Interfaces

    DefaultOptions +ElementMatch | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.Entries.html b/modules/ArrayPlus.Entries.html index f7d2b48c5..539377b84 100644 --- a/modules/ArrayPlus.Entries.html +++ b/modules/ArrayPlus.Entries.html @@ -1,2 +1,2 @@ -Entries | type-plus - v8.0.0-beta.6

    Namespace Entries

    Index

    Type Aliases

    Device +Entries | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.Filter.html b/modules/ArrayPlus.Filter.html index efcc927b3..7194caa6e 100644 --- a/modules/ArrayPlus.Filter.html +++ b/modules/ArrayPlus.Filter.html @@ -1,4 +1,4 @@ -Filter | type-plus - v8.0.0-beta.6

    Namespace Filter

    Index

    Interfaces

    DefaultOptions +Filter | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.Find.html b/modules/ArrayPlus.Find.html index 2e9d2e52c..a5ea04ab3 100644 --- a/modules/ArrayPlus.Find.html +++ b/modules/ArrayPlus.Find.html @@ -1,3 +1,3 @@ -Find | type-plus - v8.0.0-beta.6

    Index

    Interfaces

    DefaultOptions +Find | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.IndexAt.html b/modules/ArrayPlus.IndexAt.html index ee9864b88..740516f5b 100644 --- a/modules/ArrayPlus.IndexAt.html +++ b/modules/ArrayPlus.IndexAt.html @@ -1,2 +1,2 @@ -IndexAt | type-plus - v8.0.0-beta.6

    Namespace IndexAt

    Index

    Type Aliases

    _ +IndexAt | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.IsReadonly.html b/modules/ArrayPlus.IsReadonly.html index 63f42a5ff..87fdcffc6 100644 --- a/modules/ArrayPlus.IsReadonly.html +++ b/modules/ArrayPlus.IsReadonly.html @@ -1,3 +1,3 @@ -IsReadonly | type-plus - v8.0.0-beta.6

    Namespace IsReadonly

    Index

    Interfaces

    DefaultOptions +IsReadonly | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.Reverse.html b/modules/ArrayPlus.Reverse.html index 9e28c93a3..22aeaf2a3 100644 --- a/modules/ArrayPlus.Reverse.html +++ b/modules/ArrayPlus.Reverse.html @@ -1,2 +1,2 @@ -Reverse | type-plus - v8.0.0-beta.6

    Namespace Reverse

    Index

    Type Aliases

    _ +Reverse | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.SplitAt.html b/modules/ArrayPlus.SplitAt.html index 8c89ad818..319fb64e8 100644 --- a/modules/ArrayPlus.SplitAt.html +++ b/modules/ArrayPlus.SplitAt.html @@ -1,3 +1,3 @@ -SplitAt | type-plus - v8.0.0-beta.6

    Namespace SplitAt

    Index

    Type Aliases

    _ +SplitAt | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.html b/modules/ArrayPlus.html index 12c6dd3d7..0db7f1a77 100644 --- a/modules/ArrayPlus.html +++ b/modules/ArrayPlus.html @@ -1,4 +1,4 @@ -ArrayPlus | type-plus - v8.0.0-beta.6

    Namespace ArrayPlus

    References

    At +ArrayPlus | type-plus - v8.0.0-beta.6

    Namespace ArrayPlus

    References

    At Concat FindLast Some diff --git a/modules/Assignable.html b/modules/Assignable.html index d9c950f31..4af0b1946 100644 --- a/modules/Assignable.html +++ b/modules/Assignable.html @@ -1,4 +1,4 @@ -Assignable | type-plus - v8.0.0-beta.6

    Namespace Assignable

    Index

    Type Aliases

    $ +Assignable | type-plus - v8.0.0-beta.6

    Namespace Assignable

    Index

    Type Aliases

    $ $Branch $Default $Options diff --git a/modules/Box.html b/modules/Box.html index cc4b9162e..3aaf08600 100644 --- a/modules/Box.html +++ b/modules/Box.html @@ -1,3 +1,3 @@ -Box | type-plus - v8.0.0-beta.6

    Namespace Box

    Index

    Interfaces

    DefaultOptions +Box | type-plus - v8.0.0-beta.6
    diff --git a/modules/CommonPropKeys.html b/modules/CommonPropKeys.html index 4f6053c3b..f4db58ac0 100644 --- a/modules/CommonPropKeys.html +++ b/modules/CommonPropKeys.html @@ -1,3 +1,3 @@ -CommonPropKeys | type-plus - v8.0.0-beta.6

    Namespace CommonPropKeys

    Index

    Interfaces

    DefaultOptions +CommonPropKeys | type-plus - v8.0.0-beta.6
    diff --git a/modules/DropFirst.html b/modules/DropFirst.html index 453617f81..59922e860 100644 --- a/modules/DropFirst.html +++ b/modules/DropFirst.html @@ -1,3 +1,3 @@ -DropFirst | type-plus - v8.0.0-beta.6

    Namespace DropFirst

    Index

    Interfaces

    DefaultOptions +DropFirst | type-plus - v8.0.0-beta.6
    diff --git a/modules/DropLast.html b/modules/DropLast.html index 2650266b3..bc9360ec2 100644 --- a/modules/DropLast.html +++ b/modules/DropLast.html @@ -1,3 +1,3 @@ -DropLast | type-plus - v8.0.0-beta.6

    Namespace DropLast

    Index

    Interfaces

    DefaultOptions +DropLast | type-plus - v8.0.0-beta.6
    diff --git a/modules/FindFirst.html b/modules/FindFirst.html index c6578db86..4d45e0d66 100644 --- a/modules/FindFirst.html +++ b/modules/FindFirst.html @@ -1,3 +1,3 @@ -FindFirst | type-plus - v8.0.0-beta.6

    Namespace FindFirst

    Index

    Interfaces

    DefaultOptions +FindFirst | type-plus - v8.0.0-beta.6
    diff --git a/modules/Head.html b/modules/Head.html index c4309fcb2..9ea4df8b3 100644 --- a/modules/Head.html +++ b/modules/Head.html @@ -1,3 +1,3 @@ -Head | type-plus - v8.0.0-beta.6

    Namespace Head

    Index

    Interfaces

    DefaultOptions +Head | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsAny.html b/modules/IsAny.html index 33c7ce899..6ed9509bc 100644 --- a/modules/IsAny.html +++ b/modules/IsAny.html @@ -1,3 +1,3 @@ -IsAny | type-plus - v8.0.0-beta.6

    Namespace IsAny

    Index

    Type Aliases

    $Branch +IsAny | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsArray.html b/modules/IsArray.html index 4e191ab18..8df72f798 100644 --- a/modules/IsArray.html +++ b/modules/IsArray.html @@ -1,4 +1,4 @@ -IsArray | type-plus - v8.0.0-beta.6

    Namespace IsArray

    Index

    Type Aliases

    $ +IsArray | type-plus - v8.0.0-beta.6

    Namespace IsArray

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsBigint.html b/modules/IsBigint.html index 6ca083238..ab35188e7 100644 --- a/modules/IsBigint.html +++ b/modules/IsBigint.html @@ -1,4 +1,4 @@ -IsBigint | type-plus - v8.0.0-beta.6

    Namespace IsBigint

    Index

    Type Aliases

    _SD +IsBigint | type-plus - v8.0.0-beta.6

    Namespace IsBigint

    Index

    Type Aliases

    _SD _SN $ $Branch diff --git a/modules/IsBigintLiteral.html b/modules/IsBigintLiteral.html index 53784f271..b74456d26 100644 --- a/modules/IsBigintLiteral.html +++ b/modules/IsBigintLiteral.html @@ -1,4 +1,4 @@ -IsBigintLiteral | type-plus - v8.0.0-beta.6

    Namespace IsBigintLiteral

    Index

    Type Aliases

    _D +IsBigintLiteral | type-plus - v8.0.0-beta.6

    Namespace IsBigintLiteral

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsBoolean.html b/modules/IsBoolean.html index e37c84a19..41da4cace 100644 --- a/modules/IsBoolean.html +++ b/modules/IsBoolean.html @@ -1,4 +1,4 @@ -IsBoolean | type-plus - v8.0.0-beta.6

    Namespace IsBoolean

    Index

    Type Aliases

    _DistributeMap +IsBoolean | type-plus - v8.0.0-beta.6

    Namespace IsBoolean

    Index

    Type Aliases

    _DistributeMap _N _SD $ diff --git a/modules/IsFalse.html b/modules/IsFalse.html index 4f4861d56..101c59502 100644 --- a/modules/IsFalse.html +++ b/modules/IsFalse.html @@ -1,4 +1,4 @@ -IsFalse | type-plus - v8.0.0-beta.6

    Namespace IsFalse

    Index

    Type Aliases

    $ +IsFalse | type-plus - v8.0.0-beta.6

    Namespace IsFalse

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsFunction.html b/modules/IsFunction.html index 226f67443..616b48fa6 100644 --- a/modules/IsFunction.html +++ b/modules/IsFunction.html @@ -1,4 +1,4 @@ -IsFunction | type-plus - v8.0.0-beta.6

    Namespace IsFunction

    Index

    Type Aliases

    $Branch +IsFunction | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNever.html b/modules/IsNever.html index c0ce944b4..73d432906 100644 --- a/modules/IsNever.html +++ b/modules/IsNever.html @@ -1,4 +1,4 @@ -IsNever | type-plus - v8.0.0-beta.6

    Namespace IsNever

    Index

    Type Aliases

    _O +IsNever | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNotAny.html b/modules/IsNotAny.html index 47d579534..1965e3405 100644 --- a/modules/IsNotAny.html +++ b/modules/IsNotAny.html @@ -1,3 +1,3 @@ -IsNotAny | type-plus - v8.0.0-beta.6

    Namespace IsNotAny

    Index

    Type Aliases

    $Branch +IsNotAny | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNotArray.html b/modules/IsNotArray.html index c9039614e..feff3793e 100644 --- a/modules/IsNotArray.html +++ b/modules/IsNotArray.html @@ -1,4 +1,4 @@ -IsNotArray | type-plus - v8.0.0-beta.6

    Namespace IsNotArray

    Index

    Type Aliases

    $ +IsNotArray | type-plus - v8.0.0-beta.6

    Namespace IsNotArray

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotBigint.html b/modules/IsNotBigint.html index 6e2bf1b58..152c9c7c3 100644 --- a/modules/IsNotBigint.html +++ b/modules/IsNotBigint.html @@ -1,4 +1,4 @@ -IsNotBigint | type-plus - v8.0.0-beta.6

    Namespace IsNotBigint

    Index

    Type Aliases

    _SD +IsNotBigint | type-plus - v8.0.0-beta.6

    Namespace IsNotBigint

    Index

    Type Aliases

    _SD _SN $ $Branch diff --git a/modules/IsNotBigintLiteral.html b/modules/IsNotBigintLiteral.html index fe0774389..656263897 100644 --- a/modules/IsNotBigintLiteral.html +++ b/modules/IsNotBigintLiteral.html @@ -1,4 +1,4 @@ -IsNotBigintLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotBigintLiteral

    Index

    Type Aliases

    _D +IsNotBigintLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotBigintLiteral

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsNotBoolean.html b/modules/IsNotBoolean.html index b1c5cbe2d..1760988b4 100644 --- a/modules/IsNotBoolean.html +++ b/modules/IsNotBoolean.html @@ -1,4 +1,4 @@ -IsNotBoolean | type-plus - v8.0.0-beta.6

    Namespace IsNotBoolean

    Index

    Type Aliases

    _D +IsNotBoolean | type-plus - v8.0.0-beta.6

    Namespace IsNotBoolean

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsNotFalse.html b/modules/IsNotFalse.html index 2e5f58c0c..804f735e9 100644 --- a/modules/IsNotFalse.html +++ b/modules/IsNotFalse.html @@ -1,4 +1,4 @@ -IsNotFalse | type-plus - v8.0.0-beta.6

    Namespace IsNotFalse

    Index

    Type Aliases

    $ +IsNotFalse | type-plus - v8.0.0-beta.6

    Namespace IsNotFalse

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotFunction.html b/modules/IsNotFunction.html index b8f3aee74..bad949c95 100644 --- a/modules/IsNotFunction.html +++ b/modules/IsNotFunction.html @@ -1,4 +1,4 @@ -IsNotFunction | type-plus - v8.0.0-beta.6

    Namespace IsNotFunction

    Index

    Type Aliases

    $Branch +IsNotFunction | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNotNever.html b/modules/IsNotNever.html index 5ec3b3d66..85c16ce48 100644 --- a/modules/IsNotNever.html +++ b/modules/IsNotNever.html @@ -1,4 +1,4 @@ -IsNotNever | type-plus - v8.0.0-beta.6

    Namespace IsNotNever

    Index

    Type Aliases

    _O +IsNotNever | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNotNull.html b/modules/IsNotNull.html index 6f89d468f..3bbf8c43b 100644 --- a/modules/IsNotNull.html +++ b/modules/IsNotNull.html @@ -1,4 +1,4 @@ -IsNotNull | type-plus - v8.0.0-beta.6

    Namespace IsNotNull

    Index

    Type Aliases

    $ +IsNotNull | type-plus - v8.0.0-beta.6

    Namespace IsNotNull

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotNumberLiteral.html b/modules/IsNotNumberLiteral.html index 11008c202..3c5ea0b78 100644 --- a/modules/IsNotNumberLiteral.html +++ b/modules/IsNotNumberLiteral.html @@ -1,4 +1,4 @@ -IsNotNumberLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotNumberLiteral

    Index

    Type Aliases

    _D +IsNotNumberLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotNumberLiteral

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsNotObject.html b/modules/IsNotObject.html index 7599d74f6..0ec51226e 100644 --- a/modules/IsNotObject.html +++ b/modules/IsNotObject.html @@ -1,4 +1,4 @@ -IsNotObject | type-plus - v8.0.0-beta.6

    Namespace IsNotObject

    Index

    Type Aliases

    _D +IsNotObject | type-plus - v8.0.0-beta.6

    Namespace IsNotObject

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsNotStrictFunction.html b/modules/IsNotStrictFunction.html index 26196a0a3..5dcf5673d 100644 --- a/modules/IsNotStrictFunction.html +++ b/modules/IsNotStrictFunction.html @@ -1,4 +1,4 @@ -IsNotStrictFunction | type-plus - v8.0.0-beta.6

    Namespace IsNotStrictFunction

    Index

    Type Aliases

    _D +IsNotStrictFunction | type-plus - v8.0.0-beta.6

    Namespace IsNotStrictFunction

    Index

    Type Aliases

    _D $Branch $Default $Options diff --git a/modules/IsNotString.html b/modules/IsNotString.html index bead97922..d2ab81e9f 100644 --- a/modules/IsNotString.html +++ b/modules/IsNotString.html @@ -1,4 +1,4 @@ -IsNotString | type-plus - v8.0.0-beta.6

    Namespace IsNotString

    Index

    Type Aliases

    _D +IsNotString | type-plus - v8.0.0-beta.6

    Namespace IsNotString

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsNotStringLiteral.html b/modules/IsNotStringLiteral.html index 0779d057b..9f624a81a 100644 --- a/modules/IsNotStringLiteral.html +++ b/modules/IsNotStringLiteral.html @@ -1,4 +1,4 @@ -IsNotStringLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotStringLiteral

    Index

    Type Aliases

    _D +IsNotStringLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotStringLiteral

    Index

    Type Aliases

    _D _E _ED _EN diff --git a/modules/IsNotSymbol.html b/modules/IsNotSymbol.html index 651372f1d..a41687c4e 100644 --- a/modules/IsNotSymbol.html +++ b/modules/IsNotSymbol.html @@ -1,4 +1,4 @@ -IsNotSymbol | type-plus - v8.0.0-beta.6

    Namespace IsNotSymbol

    Index

    Type Aliases

    $ +IsNotSymbol | type-plus - v8.0.0-beta.6

    Namespace IsNotSymbol

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotTemplateLiteral.html b/modules/IsNotTemplateLiteral.html index 39f022b22..a7b6accc9 100644 --- a/modules/IsNotTemplateLiteral.html +++ b/modules/IsNotTemplateLiteral.html @@ -1,4 +1,4 @@ -IsNotTemplateLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotTemplateLiteral

    Index

    Type Aliases

    $ +IsNotTemplateLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotTemplateLiteral

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotTrue.html b/modules/IsNotTrue.html index da70a4ff7..d47697cfe 100644 --- a/modules/IsNotTrue.html +++ b/modules/IsNotTrue.html @@ -1,4 +1,4 @@ -IsNotTrue | type-plus - v8.0.0-beta.6

    Namespace IsNotTrue

    Index

    Type Aliases

    $ +IsNotTrue | type-plus - v8.0.0-beta.6

    Namespace IsNotTrue

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotTuple.html b/modules/IsNotTuple.html index d016f3534..984aa8c5b 100644 --- a/modules/IsNotTuple.html +++ b/modules/IsNotTuple.html @@ -1,4 +1,4 @@ -IsNotTuple | type-plus - v8.0.0-beta.6

    Namespace IsNotTuple

    Index

    Type Aliases

    $ +IsNotTuple | type-plus - v8.0.0-beta.6

    Namespace IsNotTuple

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotUndefined.html b/modules/IsNotUndefined.html index 9a5031698..c9406476b 100644 --- a/modules/IsNotUndefined.html +++ b/modules/IsNotUndefined.html @@ -1,4 +1,4 @@ -IsNotUndefined | type-plus - v8.0.0-beta.6

    Namespace IsNotUndefined

    Index

    Type Aliases

    $ +IsNotUndefined | type-plus - v8.0.0-beta.6

    Namespace IsNotUndefined

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotUnknown.html b/modules/IsNotUnknown.html index 149a8c3ad..c034cdb83 100644 --- a/modules/IsNotUnknown.html +++ b/modules/IsNotUnknown.html @@ -1,3 +1,3 @@ -IsNotUnknown | type-plus - v8.0.0-beta.6

    Namespace IsNotUnknown

    Index

    Type Aliases

    $Branch +IsNotUnknown | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNotVoid.html b/modules/IsNotVoid.html index 1158ec627..fb6d068b7 100644 --- a/modules/IsNotVoid.html +++ b/modules/IsNotVoid.html @@ -1,4 +1,4 @@ -IsNotVoid | type-plus - v8.0.0-beta.6

    Namespace IsNotVoid

    Index

    Type Aliases

    $ +IsNotVoid | type-plus - v8.0.0-beta.6

    Namespace IsNotVoid

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNull.html b/modules/IsNull.html index 18287223c..5759124c1 100644 --- a/modules/IsNull.html +++ b/modules/IsNull.html @@ -1,4 +1,4 @@ -IsNull | type-plus - v8.0.0-beta.6

    Namespace IsNull

    Index

    Type Aliases

    $ +IsNull | type-plus - v8.0.0-beta.6

    Namespace IsNull

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNumberLiteral.html b/modules/IsNumberLiteral.html index 8075dca07..2dece9c3f 100644 --- a/modules/IsNumberLiteral.html +++ b/modules/IsNumberLiteral.html @@ -1,4 +1,4 @@ -IsNumberLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNumberLiteral

    Index

    Type Aliases

    _D +IsNumberLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNumberLiteral

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsObject.html b/modules/IsObject.html index f3a84f4e4..e8f0941f8 100644 --- a/modules/IsObject.html +++ b/modules/IsObject.html @@ -1,4 +1,4 @@ -IsObject | type-plus - v8.0.0-beta.6

    Namespace IsObject

    Index

    Type Aliases

    _D +IsObject | type-plus - v8.0.0-beta.6

    Namespace IsObject

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsStrictFunction.html b/modules/IsStrictFunction.html index 1c4318fc3..68a94ab9f 100644 --- a/modules/IsStrictFunction.html +++ b/modules/IsStrictFunction.html @@ -1,4 +1,4 @@ -IsStrictFunction | type-plus - v8.0.0-beta.6

    Namespace IsStrictFunction

    Index

    Type Aliases

    _D +IsStrictFunction | type-plus - v8.0.0-beta.6

    Namespace IsStrictFunction

    Index

    Type Aliases

    _D $Branch $Default $Options diff --git a/modules/IsString.html b/modules/IsString.html index 17aa16333..66ae92073 100644 --- a/modules/IsString.html +++ b/modules/IsString.html @@ -1,4 +1,4 @@ -IsString | type-plus - v8.0.0-beta.6

    Namespace IsString

    Index

    Type Aliases

    _D +IsString | type-plus - v8.0.0-beta.6

    Namespace IsString

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsStringLiteral.html b/modules/IsStringLiteral.html index 6dd5f7b5a..ae65b83d4 100644 --- a/modules/IsStringLiteral.html +++ b/modules/IsStringLiteral.html @@ -1,4 +1,4 @@ -IsStringLiteral | type-plus - v8.0.0-beta.6

    Namespace IsStringLiteral

    Index

    Type Aliases

    _D +IsStringLiteral | type-plus - v8.0.0-beta.6

    Namespace IsStringLiteral

    Index

    Type Aliases

    _D _E _ED _EN diff --git a/modules/IsSymbol.html b/modules/IsSymbol.html index 601293638..a1c7d96ae 100644 --- a/modules/IsSymbol.html +++ b/modules/IsSymbol.html @@ -1,4 +1,4 @@ -IsSymbol | type-plus - v8.0.0-beta.6

    Namespace IsSymbol

    Index

    Type Aliases

    $ +IsSymbol | type-plus - v8.0.0-beta.6

    Namespace IsSymbol

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsTemplateLiteral.html b/modules/IsTemplateLiteral.html index 042bc81e6..b91eb5cc4 100644 --- a/modules/IsTemplateLiteral.html +++ b/modules/IsTemplateLiteral.html @@ -1,4 +1,4 @@ -IsTemplateLiteral | type-plus - v8.0.0-beta.6

    Namespace IsTemplateLiteral

    Index

    Type Aliases

    $ +IsTemplateLiteral | type-plus - v8.0.0-beta.6

    Namespace IsTemplateLiteral

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsTrue.html b/modules/IsTrue.html index b0775f87c..5a82f82b3 100644 --- a/modules/IsTrue.html +++ b/modules/IsTrue.html @@ -1,4 +1,4 @@ -IsTrue | type-plus - v8.0.0-beta.6

    Namespace IsTrue

    Index

    Type Aliases

    $ +IsTrue | type-plus - v8.0.0-beta.6

    Namespace IsTrue

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsTuple.html b/modules/IsTuple.html index 00cd52bfa..d27cde61b 100644 --- a/modules/IsTuple.html +++ b/modules/IsTuple.html @@ -1,4 +1,4 @@ -IsTuple | type-plus - v8.0.0-beta.6

    Namespace IsTuple

    Index

    Type Aliases

    $ +IsTuple | type-plus - v8.0.0-beta.6

    Namespace IsTuple

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsUndefined.html b/modules/IsUndefined.html index 0aa7f02a7..97cddcc30 100644 --- a/modules/IsUndefined.html +++ b/modules/IsUndefined.html @@ -1,4 +1,4 @@ -IsUndefined | type-plus - v8.0.0-beta.6

    Namespace IsUndefined

    Index

    Type Aliases

    $ +IsUndefined | type-plus - v8.0.0-beta.6

    Namespace IsUndefined

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsUnknown.html b/modules/IsUnknown.html index 06e124299..18e4664b1 100644 --- a/modules/IsUnknown.html +++ b/modules/IsUnknown.html @@ -1,3 +1,3 @@ -IsUnknown | type-plus - v8.0.0-beta.6

    Namespace IsUnknown

    Index

    Type Aliases

    $Branch +IsUnknown | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsVoid.html b/modules/IsVoid.html index eb0c88da9..026e3c2fb 100644 --- a/modules/IsVoid.html +++ b/modules/IsVoid.html @@ -1,4 +1,4 @@ -IsVoid | type-plus - v8.0.0-beta.6

    Namespace IsVoid

    Index

    Type Aliases

    $ +IsVoid | type-plus - v8.0.0-beta.6

    Namespace IsVoid

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/Last.html b/modules/Last.html index 8535573c1..18fe1836b 100644 --- a/modules/Last.html +++ b/modules/Last.html @@ -1,3 +1,3 @@ -Last | type-plus - v8.0.0-beta.6

    Namespace Last

    Index

    Interfaces

    DefaultOptions +Last | type-plus - v8.0.0-beta.6
    diff --git a/modules/MathPlus.html b/modules/MathPlus.html index aae554133..48bcd5156 100644 --- a/modules/MathPlus.html +++ b/modules/MathPlus.html @@ -1,4 +1,4 @@ -MathPlus | type-plus - v8.0.0-beta.6

    Namespace MathPlus

    References

    Add +MathPlus | type-plus - v8.0.0-beta.6

    Namespace MathPlus

    References

    Add Decrement Increment Multiply diff --git a/modules/NotAssignable.html b/modules/NotAssignable.html index c5ec907e6..84ad10823 100644 --- a/modules/NotAssignable.html +++ b/modules/NotAssignable.html @@ -1,4 +1,4 @@ -NotAssignable | type-plus - v8.0.0-beta.6

    Namespace NotAssignable

    Index

    Type Aliases

    $ +NotAssignable | type-plus - v8.0.0-beta.6

    Namespace NotAssignable

    Index

    Type Aliases

    $ $Branch $Default $Options diff --git a/modules/NumberPlus.IsInteger.html b/modules/NumberPlus.IsInteger.html index 12ea60d69..c5739b991 100644 --- a/modules/NumberPlus.IsInteger.html +++ b/modules/NumberPlus.IsInteger.html @@ -1,3 +1,3 @@ -IsInteger | type-plus - v8.0.0-beta.6

    Namespace IsInteger

    Index

    Type Aliases

    $Branch +IsInteger | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNegative.html b/modules/NumberPlus.IsNegative.html index 77748b340..f4ad964f2 100644 --- a/modules/NumberPlus.IsNegative.html +++ b/modules/NumberPlus.IsNegative.html @@ -1,4 +1,4 @@ -IsNegative | type-plus - v8.0.0-beta.6

    Namespace IsNegative

    Index

    Type Aliases

    _Negative +IsNegative | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNotInteger.html b/modules/NumberPlus.IsNotInteger.html index 7a88e3764..12b201c14 100644 --- a/modules/NumberPlus.IsNotInteger.html +++ b/modules/NumberPlus.IsNotInteger.html @@ -1,3 +1,3 @@ -IsNotInteger | type-plus - v8.0.0-beta.6

    Namespace IsNotInteger

    Index

    Type Aliases

    $Branch +IsNotInteger | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNotNegative.html b/modules/NumberPlus.IsNotNegative.html index 7f9646201..1335489b9 100644 --- a/modules/NumberPlus.IsNotNegative.html +++ b/modules/NumberPlus.IsNotNegative.html @@ -1,4 +1,4 @@ -IsNotNegative | type-plus - v8.0.0-beta.6

    Namespace IsNotNegative

    Index

    Type Aliases

    _Negative +IsNotNegative | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNotNumber.html b/modules/NumberPlus.IsNotNumber.html index 428922641..0876f712e 100644 --- a/modules/NumberPlus.IsNotNumber.html +++ b/modules/NumberPlus.IsNotNumber.html @@ -1,4 +1,4 @@ -IsNotNumber | type-plus - v8.0.0-beta.6

    Namespace IsNotNumber

    Index

    Type Aliases

    _D +IsNotNumber | type-plus - v8.0.0-beta.6

    Namespace IsNotNumber

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/NumberPlus.IsNotNumeric.html b/modules/NumberPlus.IsNotNumeric.html index 1a9808d38..bfc9eebea 100644 --- a/modules/NumberPlus.IsNotNumeric.html +++ b/modules/NumberPlus.IsNotNumeric.html @@ -1,4 +1,4 @@ -IsNotNumeric | type-plus - v8.0.0-beta.6

    Namespace IsNotNumeric

    Index

    Type Aliases

    $Branch +IsNotNumeric | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNotPositive.html b/modules/NumberPlus.IsNotPositive.html index 32a1e79c0..b2fc73cb0 100644 --- a/modules/NumberPlus.IsNotPositive.html +++ b/modules/NumberPlus.IsNotPositive.html @@ -1,4 +1,4 @@ -IsNotPositive | type-plus - v8.0.0-beta.6

    Namespace IsNotPositive

    Index

    Type Aliases

    _Negative +IsNotPositive | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNumber.html b/modules/NumberPlus.IsNumber.html index 1c0465bc9..d86af5b8a 100644 --- a/modules/NumberPlus.IsNumber.html +++ b/modules/NumberPlus.IsNumber.html @@ -1,4 +1,4 @@ -IsNumber | type-plus - v8.0.0-beta.6

    Namespace IsNumber

    Index

    Type Aliases

    _D +IsNumber | type-plus - v8.0.0-beta.6

    Namespace IsNumber

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/NumberPlus.IsNumeric.html b/modules/NumberPlus.IsNumeric.html index 1da402512..e3997ad16 100644 --- a/modules/NumberPlus.IsNumeric.html +++ b/modules/NumberPlus.IsNumeric.html @@ -1,4 +1,4 @@ -IsNumeric | type-plus - v8.0.0-beta.6

    Namespace IsNumeric

    Index

    Type Aliases

    $Branch +IsNumeric | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsPositive.html b/modules/NumberPlus.IsPositive.html index a966408f2..87e25cc43 100644 --- a/modules/NumberPlus.IsPositive.html +++ b/modules/NumberPlus.IsPositive.html @@ -1,4 +1,4 @@ -IsPositive | type-plus - v8.0.0-beta.6

    Namespace IsPositive

    Index

    Type Aliases

    _Positive +IsPositive | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.html b/modules/NumberPlus.html index 77f68ac6f..117b70061 100644 --- a/modules/NumberPlus.html +++ b/modules/NumberPlus.html @@ -1,4 +1,4 @@ -NumberPlus | type-plus - v8.0.0-beta.6

    Namespace NumberPlus

    Index

    Namespaces

    IsInteger +NumberPlus | type-plus - v8.0.0-beta.6

    Namespace NumberPlus

    Index

    Namespaces

    IsInteger IsNegative IsNotInteger IsNotNegative diff --git a/modules/NumericPlus.html b/modules/NumericPlus.html index ceeebf786..79f4e06cc 100644 --- a/modules/NumericPlus.html +++ b/modules/NumericPlus.html @@ -1,4 +1,4 @@ -NumericPlus | type-plus - v8.0.0-beta.6

    Namespace NumericPlus

    References

    IsInteger +NumericPlus | type-plus - v8.0.0-beta.6

    Namespace NumericPlus

    References

    IsInteger IsNegative IsNotInteger IsNotNegative diff --git a/modules/ObjectPlus.Merge.html b/modules/ObjectPlus.Merge.html index d37d087ba..f68db29ef 100644 --- a/modules/ObjectPlus.Merge.html +++ b/modules/ObjectPlus.Merge.html @@ -1,4 +1,4 @@ -Merge | type-plus - v8.0.0-beta.6

    Index

    Interfaces

    DefaultOptions +Merge | type-plus - v8.0.0-beta.6

    Index

    Interfaces

    Type Aliases

    Cases JoinProps Options diff --git a/modules/ObjectPlus.html b/modules/ObjectPlus.html index 49cdbc0ea..4c1c51d59 100644 --- a/modules/ObjectPlus.html +++ b/modules/ObjectPlus.html @@ -1,3 +1,3 @@ -ObjectPlus | type-plus - v8.0.0-beta.6

    Namespace ObjectPlus

    Index

    Namespaces

    Merge +ObjectPlus | type-plus - v8.0.0-beta.6

    Namespace ObjectPlus

    Index

    Namespaces

    Type Aliases

    diff --git a/modules/Pick.html b/modules/Pick.html index e9c9d3951..1cb86e320 100644 --- a/modules/Pick.html +++ b/modules/Pick.html @@ -1,2 +1,2 @@ -Pick | type-plus - v8.0.0-beta.6

    Namespace Pick

    Index

    Type Aliases

    _ +Pick | type-plus - v8.0.0-beta.6
    diff --git a/modules/RequiredKeys.html b/modules/RequiredKeys.html index c630ac905..c4f4d4e5e 100644 --- a/modules/RequiredKeys.html +++ b/modules/RequiredKeys.html @@ -1,2 +1,2 @@ -RequiredKeys | type-plus - v8.0.0-beta.6

    Namespace RequiredKeys

    Index

    Type Aliases

    _ +RequiredKeys | type-plus - v8.0.0-beta.6
    diff --git a/modules/Some.html b/modules/Some.html index 49b9ce2f0..f017856a1 100644 --- a/modules/Some.html +++ b/modules/Some.html @@ -1,4 +1,4 @@ -Some | type-plus - v8.0.0-beta.6

    Namespace Some

    Index

    Type Aliases

    Loose +Some | type-plus - v8.0.0-beta.6

    Namespace Some

    Index

    Type Aliases

    Loose LooseArray LooseTuple Strict diff --git a/modules/StringPlus.html b/modules/StringPlus.html index 2eac98f5b..ccac382a4 100644 --- a/modules/StringPlus.html +++ b/modules/StringPlus.html @@ -1,3 +1,3 @@ -StringPlus | type-plus - v8.0.0-beta.6

    Namespace StringPlus

    Index

    Type Aliases

    Includes +StringPlus | type-plus - v8.0.0-beta.6
    diff --git a/modules/TuplePlus.CommonPropKeys.html b/modules/TuplePlus.CommonPropKeys.html index 2def6730a..f716c5988 100644 --- a/modules/TuplePlus.CommonPropKeys.html +++ b/modules/TuplePlus.CommonPropKeys.html @@ -1,3 +1,3 @@ -CommonPropKeys | type-plus - v8.0.0-beta.6

    Namespace CommonPropKeys

    Index

    Interfaces

    DefaultOptions +CommonPropKeys | type-plus - v8.0.0-beta.6
    diff --git a/modules/TuplePlus.DropMatch.html b/modules/TuplePlus.DropMatch.html index 8a55aa00a..08ef82cb6 100644 --- a/modules/TuplePlus.DropMatch.html +++ b/modules/TuplePlus.DropMatch.html @@ -1,2 +1,2 @@ -DropMatch | type-plus - v8.0.0-beta.6

    Namespace DropMatch

    Index

    Type Aliases

    ExcludeUnionOfEmptyTuple +DropMatch | type-plus - v8.0.0-beta.6
    diff --git a/modules/TuplePlus.Find.html b/modules/TuplePlus.Find.html index 184ce23bb..d61e91359 100644 --- a/modules/TuplePlus.Find.html +++ b/modules/TuplePlus.Find.html @@ -1,4 +1,4 @@ -Find | type-plus - v8.0.0-beta.6

    Index

    Interfaces

    DefaultOptions +Find | type-plus - v8.0.0-beta.6
    diff --git a/modules/TuplePlus.PadStart.html b/modules/TuplePlus.PadStart.html index cdbe58c95..3fd05090e 100644 --- a/modules/TuplePlus.PadStart.html +++ b/modules/TuplePlus.PadStart.html @@ -1,2 +1,2 @@ -PadStart | type-plus - v8.0.0-beta.6

    Namespace PadStart

    Index

    Type Aliases

    Device +PadStart | type-plus - v8.0.0-beta.6
    diff --git a/modules/TuplePlus.html b/modules/TuplePlus.html index da1c3113c..e1ab96096 100644 --- a/modules/TuplePlus.html +++ b/modules/TuplePlus.html @@ -1,4 +1,4 @@ -TuplePlus | type-plus - v8.0.0-beta.6

    Namespace TuplePlus

    Index

    Namespaces

    CommonPropKeys +TuplePlus | type-plus - v8.0.0-beta.6

    Namespace TuplePlus

    Index

    Namespaces

    CommonPropKeys DropMatch Find PadStart diff --git a/modules/TypePlusOptions.html b/modules/TypePlusOptions.html index b6457d33f..206e4ade7 100644 --- a/modules/TypePlusOptions.html +++ b/modules/TypePlusOptions.html @@ -1,3 +1,3 @@ -TypePlusOptions | type-plus - v8.0.0-beta.6

    Namespace TypePlusOptions

    Index

    Interfaces

    NotArray +TypePlusOptions | type-plus - v8.0.0-beta.6

    Namespace TypePlusOptions

    Index

    Interfaces

    Type Aliases

    diff --git a/modules/UnionType.html b/modules/UnionType.html index 6af4ef7f2..5358ad32c 100644 --- a/modules/UnionType.html +++ b/modules/UnionType.html @@ -1,2 +1,2 @@ -UnionType | type-plus - v8.0.0-beta.6

    Namespace UnionType

    Index

    Type Aliases

    Device +UnionType | type-plus - v8.0.0-beta.6
    diff --git a/modules/_Any.html b/modules/_Any.html index 8edd6e5ef..8e438bc9c 100644 --- a/modules/_Any.html +++ b/modules/_Any.html @@ -1,3 +1,3 @@ -$Any | type-plus - v8.0.0-beta.6

    Namespace $Any

    Index

    Type Aliases

    $Branch +$Any | type-plus - v8.0.0-beta.6
    diff --git a/modules/_Else.html b/modules/_Else.html index 13036d450..cd9921245 100644 --- a/modules/_Else.html +++ b/modules/_Else.html @@ -1,2 +1,2 @@ -$Else | type-plus - v8.0.0-beta.6

    Namespace $Else

    Index

    Type Aliases

    $Branch +$Else | type-plus - v8.0.0-beta.6
    diff --git a/modules/_Equality.html b/modules/_Equality.html index 43759ba70..f062f21ed 100644 --- a/modules/_Equality.html +++ b/modules/_Equality.html @@ -1,3 +1,3 @@ -$Equality | type-plus - v8.0.0-beta.6

    Namespace $Equality

    Index

    Type Aliases

    $Branch +$Equality | type-plus - v8.0.0-beta.6
    diff --git a/modules/_ExtractManipulatedString.html b/modules/_ExtractManipulatedString.html index 885154187..d8bfa7e38 100644 --- a/modules/_ExtractManipulatedString.html +++ b/modules/_ExtractManipulatedString.html @@ -1,4 +1,4 @@ -$ExtractManipulatedString | type-plus - v8.0.0-beta.6

    Namespace $ExtractManipulatedString

    Index

    Type Aliases

    _CapOrElse +$ExtractManipulatedString | type-plus - v8.0.0-beta.6

    Namespace $ExtractManipulatedString

    Index

    Type Aliases

    _CapOrElse _LowerOrElse _UncapOrElse _UpperOrElse diff --git a/modules/_Never.html b/modules/_Never.html index a17b06b72..1d7bb4b03 100644 --- a/modules/_Never.html +++ b/modules/_Never.html @@ -1,4 +1,4 @@ -$Never | type-plus - v8.0.0-beta.6

    Namespace $Never

    Index

    Type Aliases

    $Branch +$Never | type-plus - v8.0.0-beta.6
    diff --git a/modules/_ResolveBranch.html b/modules/_ResolveBranch.html index 283e5e233..010de0e0d 100644 --- a/modules/_ResolveBranch.html +++ b/modules/_ResolveBranch.html @@ -1,4 +1,4 @@ -$ResolveBranch | type-plus - v8.0.0-beta.6

    Namespace $ResolveBranch

    Index

    Type Aliases

    _ +$ResolveBranch | type-plus - v8.0.0-beta.6

    Namespace $ResolveBranch

    Index

    Type Aliases

    _ _Last _OLast _Override diff --git a/modules/_Select.html b/modules/_Select.html index ce1088e33..a77fd9931 100644 --- a/modules/_Select.html +++ b/modules/_Select.html @@ -1,4 +1,4 @@ -$Select | type-plus - v8.0.0-beta.6

    Namespace $Select

    Index

    Type Aliases

    _ +$Select | type-plus - v8.0.0-beta.6

    Namespace $Select

    Index

    Type Aliases

    _ _D _N $Branch diff --git a/modules/_SpecialType.html b/modules/_SpecialType.html index 446af916e..d983f0d14 100644 --- a/modules/_SpecialType.html +++ b/modules/_SpecialType.html @@ -1,3 +1,3 @@ -$SpecialType | type-plus - v8.0.0-beta.6

    Namespace $SpecialType

    Index

    Type Aliases

    $Branch +$SpecialType | type-plus - v8.0.0-beta.6
    diff --git a/modules/_Then.html b/modules/_Then.html index d58d7490f..0ad70532d 100644 --- a/modules/_Then.html +++ b/modules/_Then.html @@ -1,2 +1,2 @@ -$Then | type-plus - v8.0.0-beta.6

    Namespace $Then

    Index

    Type Aliases

    $Branch +$Then | type-plus - v8.0.0-beta.6
    diff --git a/modules/_Unknown.html b/modules/_Unknown.html index 30c4cb209..f655b060b 100644 --- a/modules/_Unknown.html +++ b/modules/_Unknown.html @@ -1,3 +1,3 @@ -$Unknown | type-plus - v8.0.0-beta.6

    Namespace $Unknown

    Index

    Type Aliases

    $Branch +$Unknown | type-plus - v8.0.0-beta.6
    diff --git a/modules/testType.html b/modules/testType.html index 4f26acbb3..fb47e21c2 100644 --- a/modules/testType.html +++ b/modules/testType.html @@ -2,6 +2,6 @@

    This is designed specifically for testing. The return value is the input expected parameter asserted as the first type parameter, so that the type can be further inspected.

    -

    Index

    Interfaces

    Index

    Interfaces

    Type Aliases

    diff --git a/types/ANotB.html b/types/ANotB.html index a677f742f..173e772d9 100644 --- a/types/ANotB.html +++ b/types/ANotB.html @@ -1 +1 @@ -ANotB | type-plus - v8.0.0-beta.6

    Type Alias ANotB<A, B>

    ANotB<A, B>: IsEqual<A, B> extends true
        ? never
        : IsDisjoint<A, B> extends true
            ? A
            : {
                [k in Exclude<keyof A, keyof B> | KeysWithDiffType<A, B>]: A[k]
            }

    Type Parameters

    +ANotB | type-plus - v8.0.0-beta.6

    Type Alias ANotB<A, B>

    ANotB<A, B>: IsEqual<A, B> extends true
        ? never
        : IsDisjoint<A, B> extends true
            ? A
            : {
                [k in Exclude<keyof A, keyof B> | KeysWithDiffType<A, B>]: A[k]
            }

    Type Parameters

    diff --git a/types/Abs.html b/types/Abs.html index ed9383b78..510fbeaf8 100644 --- a/types/Abs.html +++ b/types/Abs.html @@ -1 +1 @@ -Abs | type-plus - v8.0.0-beta.6

    Type Alias Abs<N, Fail>

    Abs<N, Fail>: IsNumber<N, NumberPlus.IsNumber.$Branch> extends infer R
        ? R extends $Then
            ? [number] extends [N]
                ? Fail
                : `${N}` extends `-${infer P extends number}`
                    ? P
                    : N
            : R extends $Else
                ? IsBigint<N> extends infer R
                    ? R extends true
                        ? [bigint] extends [N]
                            ? Fail
                            : `${N}` extends `-${infer P extends bigint}`
                                ? P
                                : N
                        : Fail
                    : never
                : never
        : never

    Type Parameters

    • N extends number | bigint
    • Fail = never
    +Abs | type-plus - v8.0.0-beta.6

    Type Alias Abs<N, Fail>

    Abs<N, Fail>: IsNumber<N, NumberPlus.IsNumber.$Branch> extends infer R
        ? R extends $Then
            ? [number] extends [N]
                ? Fail
                : `${N}` extends `-${infer P extends number}`
                    ? P
                    : N
            : R extends $Else
                ? IsBigint<N> extends infer R
                    ? R extends true
                        ? [bigint] extends [N]
                            ? Fail
                            : `${N}` extends `-${infer P extends bigint}`
                                ? P
                                : N
                        : Fail
                    : never
                : never
        : never

    Type Parameters

    • N extends number | bigint
    • Fail = never
    diff --git a/types/Add.html b/types/Add.html index fd0454e55..c2e730c8c 100644 --- a/types/Add.html +++ b/types/Add.html @@ -1 +1 @@ -Add | type-plus - v8.0.0-beta.6

    Type Alias Add<A, B, Fail>

    Add<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Add<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    +Add | type-plus - v8.0.0-beta.6

    Type Alias Add<A, B, Fail>

    Add<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Add<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    diff --git a/types/AdjustExactOptionalProps.html b/types/AdjustExactOptionalProps.html index 1f6451b5c..a63c27c32 100644 --- a/types/AdjustExactOptionalProps.html +++ b/types/AdjustExactOptionalProps.html @@ -1,4 +1,4 @@ AdjustExactOptionalProps | type-plus - v8.0.0-beta.6

    Type Alias AdjustExactOptionalProps<T>

    AdjustExactOptionalProps<T>: T extends object
        ? {
            [K in OptionalKeys<T>]?: T[K]
        } & {
            [K in RequiredKeys<T>]: T[K]
        }
        : never

    ⚗️ transform

    Adjust T to work with compiler flag exactOptionalPropertyTypes.

    It adds undefined to optional properties.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/And.html b/types/And.html index 7e6e6ade2..35269cff6 100644 --- a/types/And.html +++ b/types/And.html @@ -1 +1 @@ -And | type-plus - v8.0.0-beta.6

    Type Alias And<A, B, Then, Else>

    And<A, B, Then, Else>: A extends true
        ? B extends true
            ? Then
            : Else
        : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    +And | type-plus - v8.0.0-beta.6

    Type Alias And<A, B, Then, Else>

    And<A, B, Then, Else>: A extends true
        ? B extends true
            ? Then
            : Else
        : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    diff --git a/types/AnyConstructor.html b/types/AnyConstructor.html index f1e74afce..e8e49dd7a 100644 --- a/types/AnyConstructor.html +++ b/types/AnyConstructor.html @@ -1 +1 @@ -AnyConstructor | type-plus - v8.0.0-beta.6

    Type Alias AnyConstructor<Params>

    AnyConstructor<Params>: (new (..._args: Params) => void)

    Type Parameters

    • Params extends any[] = any[]
    +AnyConstructor | type-plus - v8.0.0-beta.6

    Type Alias AnyConstructor<Params>

    AnyConstructor<Params>: (new (..._args: Params) => void)

    Type Parameters

    • Params extends any[] = any[]
    diff --git a/types/AnyFunction.html b/types/AnyFunction.html index 87205887a..ece11c0ed 100644 --- a/types/AnyFunction.html +++ b/types/AnyFunction.html @@ -1 +1 @@ -AnyFunction | type-plus - v8.0.0-beta.6

    Type Alias AnyFunction<Params, Result>

    AnyFunction<Params, Result>: ((...args: Params) => Result)

    Type Parameters

    • Params extends any[] = any[]
    • Result = any
    +AnyFunction | type-plus - v8.0.0-beta.6

    Type Alias AnyFunction<Params, Result>

    AnyFunction<Params, Result>: ((...args: Params) => Result)

    Type Parameters

    • Params extends any[] = any[]
    • Result = any
    diff --git a/types/AnyRecord.html b/types/AnyRecord.html index 2db735ec1..3601b3332 100644 --- a/types/AnyRecord.html +++ b/types/AnyRecord.html @@ -1 +1 @@ -AnyRecord | type-plus - v8.0.0-beta.6

    Type Alias AnyRecord

    AnyRecord: Record<KeyTypes, any>
    +AnyRecord | type-plus - v8.0.0-beta.6

    Type Alias AnyRecord

    AnyRecord: Record<KeyTypes, any>
    diff --git a/types/ArrayPlus.CommonPropKeys-1.html b/types/ArrayPlus.CommonPropKeys-1.html index 4114083a5..8d5612934 100644 --- a/types/ArrayPlus.CommonPropKeys-1.html +++ b/types/ArrayPlus.CommonPropKeys-1.html @@ -6,4 +6,4 @@

    Return type when T is never. Default to never.

    -
    +
    diff --git a/types/ArrayPlus.DropMatch.html b/types/ArrayPlus.DropMatch.html index 66f843105..1ec592c4a 100644 --- a/types/ArrayPlus.DropMatch.html +++ b/types/ArrayPlus.DropMatch.html @@ -1,2 +1,2 @@ DropMatch | type-plus - v8.0.0-beta.6

    Type Alias DropMatch<A, Criteria>

    DropMatch<A, Criteria>: A[0] extends Criteria
        ? never[]
        : undefined extends Criteria
            ? null extends Criteria
                ? NonNullable<A[0]>[]
                : Exclude<A[0], undefined>[]
            : null extends Criteria
                ? Exclude<A[0], null>[]
                : Criteria extends A[0]
                    ? Exclude<A[0], Criteria>[]
                    : A[0] extends Criteria
                        ? A
                        : Exclude<A[0], Criteria>[]

    ⚗️ transform

    -

    Type Parameters

    • A extends Readonly<unknown[]>
    • Criteria
    +

    Type Parameters

    • A extends Readonly<unknown[]>
    • Criteria
    diff --git a/types/ArrayPlus.ElementMatch-1.html b/types/ArrayPlus.ElementMatch-1.html index a4f7fc405..1577e8316 100644 --- a/types/ArrayPlus.ElementMatch-1.html +++ b/types/ArrayPlus.ElementMatch-1.html @@ -14,4 +14,4 @@ you can override it to return undefined.

    Since it is a union, the result will be joined to the matched branch as union. e.g. ElementMatch<1 | 2, 1> -> 1 | undefined

    -
    +
    diff --git a/types/ArrayPlus.Entries-1.html b/types/ArrayPlus.Entries-1.html index 3fd0cdd91..e2c5916ae 100644 --- a/types/ArrayPlus.Entries-1.html +++ b/types/ArrayPlus.Entries-1.html @@ -4,4 +4,4 @@

    Type Parameters

    • A extends readonly unknown[]
    ArrayPlus.Entries<Array<string | number>> // Array<[number, string | number]>
    ArrayPlus.Entries<[1, 2, 3]> // [[0, 1], [1, 2], [2, 3]]
    -
    +
    diff --git a/types/ArrayPlus.Entries.Device.html b/types/ArrayPlus.Entries.Device.html index 0761b854c..20bf10f95 100644 --- a/types/ArrayPlus.Entries.Device.html +++ b/types/ArrayPlus.Entries.Device.html @@ -1 +1 @@ -Device | type-plus - v8.0.0-beta.6

    Type Alias Device<A, R>

    Device<A, R>: A["length"] extends 0
        ? R
        : A extends readonly [...(infer F), infer N]
            ? ArrayPlus.Entries.Device<F, [[F["length"], N], ...R]>
            : never

    Type Parameters

    • A extends readonly unknown[]
    • R extends unknown[]
    +Device | type-plus - v8.0.0-beta.6

    Type Alias Device<A, R>

    Device<A, R>: A["length"] extends 0
        ? R
        : A extends readonly [...(infer F), infer N]
            ? ArrayPlus.Entries.Device<F, [[F["length"], N], ...R]>
            : never

    Type Parameters

    • A extends readonly unknown[]
    • R extends unknown[]
    diff --git a/types/ArrayPlus.Filter-1.html b/types/ArrayPlus.Filter-1.html index aef19b780..45877ea3c 100644 --- a/types/ArrayPlus.Filter-1.html +++ b/types/ArrayPlus.Filter-1.html @@ -4,4 +4,4 @@

    Type Parameters

    type R = Filter<Array<string | undefined>, string> // string[]
     
    -
    +
    diff --git a/types/ArrayPlus.Filter._.html b/types/ArrayPlus.Filter._.html index be6fbab62..593210f38 100644 --- a/types/ArrayPlus.Filter._.html +++ b/types/ArrayPlus.Filter._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, Criteria, Result>

    _<A, Criteria, Result>: A["length"] extends 0
        ? Result
        : A extends [infer H, ...(infer Rest)]
            ? IsEqual<H, Criteria, ArrayPlus.Filter._<Rest, Criteria, [...Result, H]>, ArrayPlus.Filter._<Rest, Criteria, Result>>
            : never

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Result extends unknown[]
    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, Criteria, Result>

    _<A, Criteria, Result>: A["length"] extends 0
        ? Result
        : A extends [infer H, ...(infer Rest)]
            ? IsEqual<H, Criteria, ArrayPlus.Filter._<Rest, Criteria, [...Result, H]>, ArrayPlus.Filter._<Rest, Criteria, Result>>
            : never

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Result extends unknown[]
    diff --git a/types/ArrayPlus.Find-1.html b/types/ArrayPlus.Find-1.html index c4b15c237..36730dbfc 100644 --- a/types/ArrayPlus.Find-1.html +++ b/types/ArrayPlus.Find-1.html @@ -21,4 +21,4 @@

    If you want the type to behave more like JavaScript, you can override it to return undefined.

    Since it is a union, the result will be joined to the matched branch as union.

    -
    +
    diff --git a/types/ArrayPlus.IndexAt-1.html b/types/ArrayPlus.IndexAt-1.html index 2083f4fdf..72fda55a7 100644 --- a/types/ArrayPlus.IndexAt-1.html +++ b/types/ArrayPlus.IndexAt-1.html @@ -3,4 +3,4 @@

    Type Parameters

    • A extends readonly unknown[]
    • N extends number
    • Fail = never
    • Upper = A["length"]
    • Lower = 0
    type R = IndexAt<['a', 'b', 'c'], 2> // 2
    type R = IndexAt<['a', 'b', 'c'], -2> // 1

    type R = IndexAt<['a', 'b', 'c'], 3> // never
    type R = IndexAt<['a', 'b', 'c'], -4> // never
    -
    +
    diff --git a/types/ArrayPlus.IndexAt._.html b/types/ArrayPlus.IndexAt._.html index aa29f096e..eea0aee07 100644 --- a/types/ArrayPlus.IndexAt._.html +++ b/types/ArrayPlus.IndexAt._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, N, Fail, Upper, Lower>

    _<A, N, Fail, Upper, Lower>: IsEqual<A["length"], 0, Fail, IsInteger<N, {
        $else: IsAny<N, {
            $else: IsNumber<N, NumberPlus.IsNumber.$Branch<{
                    exact: true;
                }>> extends infer R
                ? R extends $Then
                    ? N
                    : never
                : never;
            $then: number;
        }>;
        $then: IsNumber<A["length"], NumberPlus.IsNumber.$Branch<{
                exact: true;
            }>> extends infer R
            ? R extends $Then
                ? N
                : R extends $Else
                    ? IsNegative<N, {
                        $else: GreaterThan<(...)[(...)], N> extends true
                            ? N
                            : Upper;
                        $then: GreaterThan<Abs<(...)>, (...)[(...)]> extends true
                            ? Lower
                            : Subtract<(...)[(...)], Abs<(...)>>;
                    }>
                    : never
            : never;
    }>>

    Type Parameters

    • A extends readonly unknown[]
    • N extends number
    • Fail = never
    • Upper = A["length"]
    • Lower = 0
    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, N, Fail, Upper, Lower>

    _<A, N, Fail, Upper, Lower>: IsEqual<A["length"], 0, Fail, IsInteger<N, {
        $else: IsAny<N, {
            $else: IsNumber<N, NumberPlus.IsNumber.$Branch<{
                    exact: true;
                }>> extends infer R
                ? R extends $Then
                    ? N
                    : never
                : never;
            $then: number;
        }>;
        $then: IsNumber<A["length"], NumberPlus.IsNumber.$Branch<{
                exact: true;
            }>> extends infer R
            ? R extends $Then
                ? N
                : R extends $Else
                    ? IsNegative<N, {
                        $else: GreaterThan<(...)[(...)], N> extends true
                            ? N
                            : Upper;
                        $then: GreaterThan<Abs<(...)>, (...)[(...)]> extends true
                            ? Lower
                            : Subtract<(...)[(...)], Abs<(...)>>;
                    }>
                    : never
            : never;
    }>>

    Type Parameters

    • A extends readonly unknown[]
    • N extends number
    • Fail = never
    • Upper = A["length"]
    • Lower = 0
    diff --git a/types/ArrayPlus.IsIndexOutOfBound.html b/types/ArrayPlus.IsIndexOutOfBound.html index edb3dbc8e..0b1f3a21f 100644 --- a/types/ArrayPlus.IsIndexOutOfBound.html +++ b/types/ArrayPlus.IsIndexOutOfBound.html @@ -3,4 +3,4 @@

    Type Parameters

    • A extends readonly unknown[]
    • N extends number
    • Then = true
    • Else = false
    type R = IsIndexOutOfBound<[1], 0> // false
    type R = IsIndexOutOfBound<[1], -1> // false

    type R = IsIndexOutOfBound<[1], 1> // true
    type R = IsIndexOutOfBound<[1], -2> // true
    -
    +
    diff --git a/types/ArrayPlus.IsReadonly-1.html b/types/ArrayPlus.IsReadonly-1.html index 121a62759..6b0cfdbd8 100644 --- a/types/ArrayPlus.IsReadonly-1.html +++ b/types/ArrayPlus.IsReadonly-1.html @@ -4,4 +4,4 @@

    Type Parameters

    type R = IsReadonly<readonly string[]> // true
    type R = IsReadonly<readonly [1, 2, 3, 4, 5]> // true

    type R = IsReadonly<[1, 2, 3, 4, 5]> // false
    type R = IsReadonly<readonly string[] | number> // boolean
    -
    +
    diff --git a/types/ArrayPlus.PadStart.html b/types/ArrayPlus.PadStart.html index 8c30a5cd9..f01d5aea8 100644 --- a/types/ArrayPlus.PadStart.html +++ b/types/ArrayPlus.PadStart.html @@ -1 +1 @@ -PadStart | type-plus - v8.0.0-beta.6

    Type Alias PadStart<A, MaxLength, PadWith>

    PadStart<A, MaxLength, PadWith>: MaxLength extends 0
        ? A
        : CanAssign<PadWith, UnionOfValues<A>> extends true
            ? A
            : ArrayPlus.PadStart<[...CreateTuple<MaxLength, PadWith>, ...A], MaxLength, PadWith>

    Type Parameters

    • A extends readonly unknown[]
    • MaxLength extends number
    • PadWith = unknown
    +PadStart | type-plus - v8.0.0-beta.6

    Type Alias PadStart<A, MaxLength, PadWith>

    PadStart<A, MaxLength, PadWith>: MaxLength extends 0
        ? A
        : CanAssign<PadWith, UnionOfValues<A>> extends true
            ? A
            : ArrayPlus.PadStart<[...CreateTuple<MaxLength, PadWith>, ...A], MaxLength, PadWith>

    Type Parameters

    • A extends readonly unknown[]
    • MaxLength extends number
    • PadWith = unknown
    diff --git a/types/ArrayPlus.Reverse-1.html b/types/ArrayPlus.Reverse-1.html index 2aec63758..8b17a4d86 100644 --- a/types/ArrayPlus.Reverse-1.html +++ b/types/ArrayPlus.Reverse-1.html @@ -1 +1 @@ -Reverse | type-plus - v8.0.0-beta.6

    Type Alias Reverse<A>

    Reverse<A>: ArrayPlus.Reverse._<A> extends infer R
        ? IsReadonly<A> extends true
            ? Readonly<R>
            : R
        : never

    Type Parameters

    • A extends readonly unknown[]
    +Reverse | type-plus - v8.0.0-beta.6

    Type Alias Reverse<A>

    Reverse<A>: ArrayPlus.Reverse._<A> extends infer R
        ? IsReadonly<A> extends true
            ? Readonly<R>
            : R
        : never

    Type Parameters

    • A extends readonly unknown[]
    diff --git a/types/ArrayPlus.Reverse._.html b/types/ArrayPlus.Reverse._.html index e9a49aa0b..d802542fb 100644 --- a/types/ArrayPlus.Reverse._.html +++ b/types/ArrayPlus.Reverse._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6
    _<A>: A extends readonly [infer First, ...(infer Rest)]
        ? [...ArrayPlus.Reverse._<Rest>, First]
        : A

    Type Parameters

    • A extends readonly unknown[]
    +_ | type-plus - v8.0.0-beta.6
    _<A>: A extends readonly [infer First, ...(infer Rest)]
        ? [...ArrayPlus.Reverse._<Rest>, First]
        : A

    Type Parameters

    • A extends readonly unknown[]
    diff --git a/types/ArrayPlus.SplitAt-1.html b/types/ArrayPlus.SplitAt-1.html index d77a22490..d27da5123 100644 --- a/types/ArrayPlus.SplitAt-1.html +++ b/types/ArrayPlus.SplitAt-1.html @@ -6,4 +6,4 @@

    Type Parameters

    • A extends readonly unknown[]
    • Index extends number
    • DeleteCount extends number | never = never
    • Insert extends readonly unknown[] | never = never
    SplitAt<[1, 2, 3, 4, 5], 2> // [[1, 2], [3, 4, 5]]
    SplitAt<[1, 2, 3, 4, 5], -3> // [[1, 2], [3, 4, 5]]

    SplitAt<[1, 2, 3, 4, 5], 2, 2> // [[1, 2, 5], [3, 4]]

    SplitAt<[1, 2, 3, 4, 5], 2, 2, ['a', 'b']> // [[1, 2, 'a', 'b', 5], [3, 4]]

    // out of bound resets to boundary
    SplitAt<[1, 2, 3, 4, 5], 6> // [[1, 2, 3, 4, 5], []]
    SplitAt<[1, 2, 3, 4, 5], -6> // [[], [1, 2, 3, 4, 5]]
    -
    +
    diff --git a/types/ArrayPlus.SplitAt._.html b/types/ArrayPlus.SplitAt._.html index e5d6b19dd..ac574c03a 100644 --- a/types/ArrayPlus.SplitAt._.html +++ b/types/ArrayPlus.SplitAt._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, B, C, Index, DeleteCount, Insert>

    _<A, B, C, Index, DeleteCount, Insert>: 0 extends A["length"]
        ? IsTuple<Insert, {
            $else: [B, C];
            $then: [[...Insert, ...B], C];
        }>
        : Index extends B["length"]
            ? IsNever<DeleteCount, {
                $else: ArrayPlus.SplitAt._D<A, B, C, DeleteCount, Insert>;
                $then: [B, A];
            }>
            : A extends readonly [infer Head, ...(infer Tail)]
                ? ArrayPlus.SplitAt._<Tail, [...B, Head], [], Index, DeleteCount, Insert>
                : "unexpected: A does not extends [Head, ...Tail]"

    Type Parameters

    • A extends readonly unknown[]
    • B extends readonly unknown[]
    • C extends readonly unknown[]
    • Index extends number
    • DeleteCount
    • Insert extends readonly unknown[]
    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, B, C, Index, DeleteCount, Insert>

    _<A, B, C, Index, DeleteCount, Insert>: 0 extends A["length"]
        ? IsTuple<Insert, {
            $else: [B, C];
            $then: [[...Insert, ...B], C];
        }>
        : Index extends B["length"]
            ? IsNever<DeleteCount, {
                $else: ArrayPlus.SplitAt._D<A, B, C, DeleteCount, Insert>;
                $then: [B, A];
            }>
            : A extends readonly [infer Head, ...(infer Tail)]
                ? ArrayPlus.SplitAt._<Tail, [...B, Head], [], Index, DeleteCount, Insert>
                : "unexpected: A does not extends [Head, ...Tail]"

    Type Parameters

    • A extends readonly unknown[]
    • B extends readonly unknown[]
    • C extends readonly unknown[]
    • Index extends number
    • DeleteCount
    • Insert extends readonly unknown[]
    diff --git a/types/ArrayPlus.SplitAt._D.html b/types/ArrayPlus.SplitAt._D.html index 34a875fd0..93151ea1c 100644 --- a/types/ArrayPlus.SplitAt._D.html +++ b/types/ArrayPlus.SplitAt._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<A, B, C, DeleteCount, Insert>

    _D<A, B, C, DeleteCount, Insert>: DeleteCount extends C["length"]
        ? IsTuple<Insert, {
            $else: [[...B, ...A], C];
            $then: [[...B, ...Insert, ...A], C];
        }>
        : A extends readonly [infer Head, ...(infer Tail)]
            ? ArrayPlus.SplitAt._D<Tail, B, [...C, Head], DeleteCount, Insert>
            : IsTuple<Insert, {
                $else: [B, C];
                $then: [[...Insert, ...B], C];
            }>

    Type Parameters

    • A extends readonly unknown[]
    • B extends readonly unknown[]
    • C extends readonly unknown[]
    • DeleteCount
    • Insert extends readonly unknown[]
    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<A, B, C, DeleteCount, Insert>

    _D<A, B, C, DeleteCount, Insert>: DeleteCount extends C["length"]
        ? IsTuple<Insert, {
            $else: [[...B, ...A], C];
            $then: [[...B, ...Insert, ...A], C];
        }>
        : A extends readonly [infer Head, ...(infer Tail)]
            ? ArrayPlus.SplitAt._D<Tail, B, [...C, Head], DeleteCount, Insert>
            : IsTuple<Insert, {
                $else: [B, C];
                $then: [[...Insert, ...B], C];
            }>

    Type Parameters

    • A extends readonly unknown[]
    • B extends readonly unknown[]
    • C extends readonly unknown[]
    • DeleteCount
    • Insert extends readonly unknown[]
    diff --git a/types/Assignable-1.html b/types/Assignable-1.html index 38c8cfbd7..657918d34 100644 --- a/types/Assignable-1.html +++ b/types/Assignable-1.html @@ -18,4 +18,4 @@
    type R = Assignable<any, any, { $any: 1 }> // 1
    type R = Assignable<unknown, any, { $unknown: 1 }> // 1
    type R = Assignable<never, any, { $never: 1 }> // 1
    -
    +
    diff --git a/types/Assignable._.html b/types/Assignable._.html index d3b80a089..a6c9783c4 100644 --- a/types/Assignable._.html +++ b/types/Assignable._.html @@ -3,4 +3,4 @@

    This is the internal logic of Assignable. It does not check against special types.

    It is suitable for building custom types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/Assignable._Branch.html b/types/Assignable._Branch.html index 2a6caca42..d8230e510 100644 --- a/types/Assignable._Branch.html +++ b/types/Assignable._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $SelectionBranch & $O

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $SelectionBranch & $O

    Type Parameters

    diff --git a/types/Assignable._Default.html b/types/Assignable._Default.html index 4da339f69..596c176df 100644 --- a/types/Assignable._Default.html +++ b/types/Assignable._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    +$Default | type-plus - v8.0.0-beta.6
    diff --git a/types/Assignable._Options.html b/types/Assignable._Options.html index 3a6baf005..09cdf293b 100644 --- a/types/Assignable._Options.html +++ b/types/Assignable._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/Assignable._UtilOptions.html b/types/Assignable._UtilOptions.html index 977d06818..10ff81615 100644 --- a/types/Assignable._UtilOptions.html +++ b/types/Assignable._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/At.html b/types/At.html index ddb58bb77..9dbe2c9a2 100644 --- a/types/At.html +++ b/types/At.html @@ -6,4 +6,4 @@
    type R = At<[1, 2, 3], 2> // 3
    type R = At<[1, 2, 3], -1> // 3
    -
    +
    diff --git a/types/AwaitedProp.html b/types/AwaitedProp.html index 077b54804..ed9beba87 100644 --- a/types/AwaitedProp.html +++ b/types/AwaitedProp.html @@ -1,2 +1,2 @@ AwaitedProp | type-plus - v8.0.0-beta.6

    Type Alias AwaitedProp<T, K>

    AwaitedProp<T, K>: {
        [k in keyof T]: k extends K
            ? Awaited<T[k]>
            : T[k]
    }

    Await on specific props V on type T

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/BNotA.html b/types/BNotA.html index 975cbfc83..d5c560cd7 100644 --- a/types/BNotA.html +++ b/types/BNotA.html @@ -1 +1 @@ -BNotA | type-plus - v8.0.0-beta.6

    Type Alias BNotA<A, B>

    BNotA<A, B>: ANotB<B, A>

    Type Parameters

    +BNotA | type-plus - v8.0.0-beta.6

    Type Alias BNotA<A, B>

    BNotA<A, B>: ANotB<B, A>

    Type Parameters

    diff --git a/types/Box-1.html b/types/Box-1.html index ec04709e0..d8079be4b 100644 --- a/types/Box-1.html +++ b/types/Box-1.html @@ -5,4 +5,4 @@
    Box<number> // Number
    Box<object> // Object
    Box<string> // String
    Box<'abc'> // String

    Box<undefined> // never
    -
    +
    diff --git a/types/Box.Options.html b/types/Box.Options.html index 667737928..b5dadf792 100644 --- a/types/Box.Options.html +++ b/types/Box.Options.html @@ -1 +1 @@ -Options | type-plus - v8.0.0-beta.6

    Type Alias Options

    Options: {
        $notBoxable?: unknown;
    }
    +Options | type-plus - v8.0.0-beta.6

    Type Alias Options

    Options: {
        $notBoxable?: unknown;
    }
    diff --git a/types/Brand.html b/types/Brand.html index 4e531ec5e..bd541e5da 100644 --- a/types/Brand.html +++ b/types/Brand.html @@ -1,3 +1,3 @@ Brand | type-plus - v8.0.0-beta.6

    Type Alias Brand<B, T>

    Brand<B, T>: [T] extends
            | [null]
            | [undefined]
            | [symbol]
            | [void]
        ? Branded<B, T>
        : Branded<B, T> & T

    Create a "branded" version of a type. TypeScript won't allow implicit conversion to this type

    -

    Type Parameters

    • B extends string
    • T = never
    +

    Type Parameters

    • B extends string
    • T = never
    diff --git a/types/CanAssign.html b/types/CanAssign.html index 68fc96ff7..b927fb290 100644 --- a/types/CanAssign.html +++ b/types/CanAssign.html @@ -13,4 +13,4 @@ So the result is true | false = boolean.

    If you want to make sure all branches are assignable, use StrictCanAssign<A, B>.

    -
    +
    diff --git a/types/ChainFn.html b/types/ChainFn.html index 2bbb002c8..b66a6a520 100644 --- a/types/ChainFn.html +++ b/types/ChainFn.html @@ -1 +1 @@ -ChainFn | type-plus - v8.0.0-beta.6

    Type Alias ChainFn<T>

    ChainFn<T>: ((param: T) => T)

    Type Parameters

    • T
    +ChainFn | type-plus - v8.0.0-beta.6

    Type Alias ChainFn<T>

    ChainFn<T>: ((param: T) => T)

    Type Parameters

    • T
    diff --git a/types/CommonKeys.html b/types/CommonKeys.html index 8ec0ca558..e8b7edd54 100644 --- a/types/CommonKeys.html +++ b/types/CommonKeys.html @@ -1,3 +1,3 @@ CommonKeys | type-plus - v8.0.0-beta.6

    Type Alias CommonKeys<A>

    CommonKeys<A>: CommonPropKeys<A>

    Gets the common property keys of the elements in A.

    Type Parameters

    Please use CommonPropKeys instead.

    -
    +
    diff --git a/types/CommonPropKeys-1.html b/types/CommonPropKeys-1.html index 71151fc1a..64468fc1f 100644 --- a/types/CommonPropKeys-1.html +++ b/types/CommonPropKeys-1.html @@ -6,4 +6,4 @@

    Return type when T is never. Default to never.

    -
    +
    diff --git a/types/ComposableTypes.html b/types/ComposableTypes.html index 52d5616fe..50c55e2a9 100644 --- a/types/ComposableTypes.html +++ b/types/ComposableTypes.html @@ -1,2 +1,2 @@ ComposableTypes | type-plus - v8.0.0-beta.6

    Type Alias ComposableTypes

    ComposableTypes: object | Function

    Types that can contain custom properties.

    -
    +
    diff --git a/types/Concat.html b/types/Concat.html index f68e6e219..582457e0a 100644 --- a/types/Concat.html +++ b/types/Concat.html @@ -6,4 +6,4 @@
    type R = Concat<[1], [2, 3]> // [1, 2, 3]
     
    -
    +
    diff --git a/types/ContextBaseShape.html b/types/ContextBaseShape.html index 5fcf4647a..7b2a7426b 100644 --- a/types/ContextBaseShape.html +++ b/types/ContextBaseShape.html @@ -1 +1 @@ -ContextBaseShape | type-plus - v8.0.0-beta.6

    Type Alias ContextBaseShape

    ContextBaseShape: Record<string | symbol, any>
    +ContextBaseShape | type-plus - v8.0.0-beta.6

    Type Alias ContextBaseShape

    ContextBaseShape: Record<string | symbol, any>
    diff --git a/types/ContextBuilder.html b/types/ContextBuilder.html index 1046f3b86..65367a348 100644 --- a/types/ContextBuilder.html +++ b/types/ContextBuilder.html @@ -1,8 +1,8 @@ ContextBuilder | type-plus - v8.0.0-beta.6

    Type Alias ContextBuilder<Init, Ctx>

    ContextBuilder<Init, Ctx>: {
        build(): Ctx;
        extend<Additional>(extender: ContextExtender<Ctx, Additional>): ContextBuilder<Init, LeftJoin<Ctx, Additional>>;
    }

    Type Parameters

    Type declaration

    +

    Returns ContextBuilder<Init, LeftJoin<Ctx, Additional>>

    diff --git a/types/ContextExtender.html b/types/ContextExtender.html index d5da87f00..66bf92e94 100644 --- a/types/ContextExtender.html +++ b/types/ContextExtender.html @@ -1,4 +1,4 @@ ContextExtender | type-plus - v8.0.0-beta.6

    Type Alias ContextExtender<Current, Additional>

    ContextExtender<Current, Additional>: ((context: Current) => Additional)

    Extends the context with new props.

    Type Parameters

    • Current
    • Additional

    Type declaration

    +
    diff --git a/types/CreateTuple.html b/types/CreateTuple.html index 49f22c870..c022a0fd3 100644 --- a/types/CreateTuple.html +++ b/types/CreateTuple.html @@ -4,4 +4,4 @@
  • https://github.com/microsoft/TypeScript/issues/26223#issuecomment-674514787
  • https://github.com/microsoft/TypeScript/issues/47874#issuecomment-1039157322
  • -
    +
    diff --git a/types/Decrement.html b/types/Decrement.html index e157959c5..2dec00069 100644 --- a/types/Decrement.html +++ b/types/Decrement.html @@ -1 +1 @@ -Decrement | type-plus - v8.0.0-beta.6

    Type Alias Decrement<N>

    Decrement<N>: Subtract<N, 1>

    Type Parameters

    • N extends number | bigint
    +Decrement | type-plus - v8.0.0-beta.6

    Type Alias Decrement<N>

    Decrement<N>: Subtract<N, 1>

    Type Parameters

    • N extends number | bigint
    diff --git a/types/DropFirst-1.html b/types/DropFirst-1.html index 61590cf43..c40cfa330 100644 --- a/types/DropFirst-1.html +++ b/types/DropFirst-1.html @@ -9,4 +9,4 @@ Default to T.

    Return type when T is an empty tuple. Default to [].

    -
    +
    diff --git a/types/DropLast-1.html b/types/DropLast-1.html index 01ae86dd8..cc5351089 100644 --- a/types/DropLast-1.html +++ b/types/DropLast-1.html @@ -9,4 +9,4 @@ Default to T.

    Return type when T is an empty tuple. Default to [].

    -
    +
    diff --git a/types/DropMatch.html b/types/DropMatch.html index 55d9ece58..57b89230f 100644 --- a/types/DropMatch.html +++ b/types/DropMatch.html @@ -3,4 +3,4 @@

    Type Parameters

    • A extends Readonly<unknown[]>
    • Criteria
    type R = DropMatch<Array<string | undefined>, undefined> // string[]
    type R = DropMatch<Array<string>, string> // never[]
    type R = DropMatch<Array<1 | 2>, number> // never[]
    -
    +
    diff --git a/types/DropNull.html b/types/DropNull.html index b3895b5d9..a567c9fd5 100644 --- a/types/DropNull.html +++ b/types/DropNull.html @@ -1 +1 @@ -DropNull | type-plus - v8.0.0-beta.6

    Type Alias DropNull<A>

    DropNull<A>: DropMatch<A, null>

    Type Parameters

    • A extends any[]
    +DropNull | type-plus - v8.0.0-beta.6

    Type Alias DropNull<A>

    DropNull<A>: DropMatch<A, null>

    Type Parameters

    • A extends any[]
    diff --git a/types/DropNullable.html b/types/DropNullable.html index 523e0e3b3..bc9374f09 100644 --- a/types/DropNullable.html +++ b/types/DropNullable.html @@ -1 +1 @@ -DropNullable | type-plus - v8.0.0-beta.6

    Type Alias DropNullable<A>

    DropNullable<A>: DropMatch<A, null | undefined>

    Type Parameters

    • A extends any[]
    +DropNullable | type-plus - v8.0.0-beta.6

    Type Alias DropNullable<A>

    DropNullable<A>: DropMatch<A, null | undefined>

    Type Parameters

    • A extends any[]
    diff --git a/types/DropUndefined.html b/types/DropUndefined.html index 4903aa40a..6fa218a2b 100644 --- a/types/DropUndefined.html +++ b/types/DropUndefined.html @@ -1 +1 @@ -DropUndefined | type-plus - v8.0.0-beta.6

    Type Alias DropUndefined<A>

    DropUndefined<A>: DropMatch<A, undefined>

    Type Parameters

    • A extends any[]
    +DropUndefined | type-plus - v8.0.0-beta.6

    Type Alias DropUndefined<A>

    DropUndefined<A>: DropMatch<A, undefined>

    Type Parameters

    • A extends any[]
    diff --git a/types/EitherAnd.html b/types/EitherAnd.html index 2ad06c74d..9016ee896 100644 --- a/types/EitherAnd.html +++ b/types/EitherAnd.html @@ -8,4 +8,4 @@
    type A = { src: string, minify?: boolean }
    type B = { logLevel: number }
    function config(options: EitherAnd<A, B>) { }

    config({ logLevel: 1 })
    config({ src: 'src' })
    config({ src: 'src', minify: false })
    config({ minify: false }) // INVALID
    -
    +
    diff --git a/types/EitherOrBoth.html b/types/EitherOrBoth.html index f62f4cad5..091130516 100644 --- a/types/EitherOrBoth.html +++ b/types/EitherOrBoth.html @@ -7,4 +7,4 @@

    Type Parameters

    • A
    • B
    • C = void
    • D = void
    type A = { src: string, minify?: boolean }
    type B = { logLevel: number }
    function config(options: EitherAnd<A, B>) { }

    config({ logLevel: 1 })
    config({ src: 'src' })
    config({ src: 'src', minify: false })
    config({ minify: false }) // INVALID
    -
    +
    diff --git a/types/EndoFn.html b/types/EndoFn.html index b4db6be1c..b82131b91 100644 --- a/types/EndoFn.html +++ b/types/EndoFn.html @@ -1,2 +1,2 @@ EndoFn | type-plus - v8.0.0-beta.6

    Type Alias EndoFn<T>

    EndoFn<T>: ((param: T) => T)

    An endofunctor is a functor from one category back to the same category.

    -

    Type Parameters

    • T
    +

    Type Parameters

    • T
    diff --git a/types/Equal.html b/types/Equal.html index b09af30c5..0e4c40f61 100644 --- a/types/Equal.html +++ b/types/Equal.html @@ -4,4 +4,4 @@
    type R = Equal<1, 1> // true
    type R = Equal<any, any> // true
    type R = Equal<boolean, boolean> // true
    type R = Equal<true, true> // true
    type R = Equal<[1], [1]> // true

    type R = Equal<boolean, true> // false
    type R = Equal<any, 1> // false
    type R = Equal<[any], [1]> // false
    type R = Equal<{ a: 1 }, { a: 1; b: 2 }> // false
    -
    +
    diff --git a/types/Except.html b/types/Except.html index 8685f4aef..96912ae28 100644 --- a/types/Except.html +++ b/types/Except.html @@ -1,2 +1,2 @@ Except | type-plus - v8.0.0-beta.6

    Type Alias Except<T, K>

    Except<T, K>: Omit<T, K>

    Type Parameters

    • T
    • K extends keyof T

    replaced by Omit

    -
    +
    diff --git a/types/Exclude.html b/types/Exclude.html index 4966f14fd..f75f711c4 100644 --- a/types/Exclude.html +++ b/types/Exclude.html @@ -5,4 +5,4 @@

    Type Parameters

    • T
    • U
    • R = never
    type R = Exclude<undefined, undefined> // never
    type R = Exclude<undefined | 1, undefined> // 1

    type R = Exclude<undefined, undefined, 2> // 2
    type R = Exclude<undefined | 1, undefined, 2> // 1 | 2
    -
    +
    diff --git a/types/ExcludePropType.html b/types/ExcludePropType.html index 09684ef4d..d8b9f667a 100644 --- a/types/ExcludePropType.html +++ b/types/ExcludePropType.html @@ -1,2 +1,2 @@ ExcludePropType | type-plus - v8.0.0-beta.6

    Type Alias ExcludePropType<T, U>

    ExcludePropType<T, U>: {
        [k in keyof T]: Exclude<T[k], U>
    }

    Exclude type U from properties in T.

    -

    Type Parameters

    • T extends Record<keyof any, any>
    • U
    +

    Type Parameters

    • T extends Record<keyof any, any>
    • U
    diff --git a/types/Extendable.html b/types/Extendable.html index 621aadd9b..27529d08d 100644 --- a/types/Extendable.html +++ b/types/Extendable.html @@ -1,2 +1,2 @@ Extendable | type-plus - v8.0.0-beta.6

    Type Alias Extendable<A, B, Then, Else>

    Extendable<A, B, Then, Else>: A extends B
        ? Then
        : Else

    Type Parameters

    • A
    • B
    • Then = A
    • Else = never

    use $Assignable

    -
    +
    diff --git a/types/ExtractFunction.html b/types/ExtractFunction.html index 14c78f7c0..e36c70ccb 100644 --- a/types/ExtractFunction.html +++ b/types/ExtractFunction.html @@ -4,4 +4,4 @@
    import type { ExtractFunction } from 'type-plus'

    type R = ExtractFunction<{
    () => void
    a: 1
    }> // () => void
    -
    +
    diff --git a/types/Filter.html b/types/Filter.html index 30e00194c..c3214aeef 100644 --- a/types/Filter.html +++ b/types/Filter.html @@ -3,4 +3,4 @@

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    type R = Filter<[1, 2, '3'], number> // [1, 2]
    type R = Filter<Array<string | undefined>, string> // string[]
    -
    +
    diff --git a/types/FindFirst-1.html b/types/FindFirst-1.html index cdfda7b35..0892cf8c3 100644 --- a/types/FindFirst-1.html +++ b/types/FindFirst-1.html @@ -22,4 +22,4 @@

    @typeParam Options['$unionMiss'] Return value when a branch of the union T does not match Criteria. Default to undefined. Since it is a union, the result will be join to the matched branch as union.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/FindLast.html b/types/FindLast.html index 03d12d9d4..097ca3715 100644 --- a/types/FindLast.html +++ b/types/FindLast.html @@ -5,4 +5,4 @@

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    ArrayPlus.Find<Array<1 | 2 | 'x'>, number> // 1 | 2 | undefined

    ArrayPlus.Find<[true, 123, 'x', 321], number> // 321
    -
    +
    diff --git a/types/Flavor.html b/types/Flavor.html index 5782e4feb..e9f9eacfe 100644 --- a/types/Flavor.html +++ b/types/Flavor.html @@ -2,4 +2,4 @@ TypeScript will disallow mixing flavors, but will allow unflavored values of that type to be passed in where a flavored version is expected. This is a less restrictive form of branding.

    -

    Type Parameters

    • F extends string
    • T
    +

    Type Parameters

    • F extends string
    • T
    diff --git a/types/GreaterThan.html b/types/GreaterThan.html index e3be9b739..1304b35be 100644 --- a/types/GreaterThan.html +++ b/types/GreaterThan.html @@ -1 +1 @@ -GreaterThan | type-plus - v8.0.0-beta.6

    Type Alias GreaterThan<A, B, Fail>

    GreaterThan<A, B, Fail>: Subtract<A, B, "fail"> extends infer R extends number
        ? R extends 0
            ? false
            : IsPositive<R>
        : Fail

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    +GreaterThan | type-plus - v8.0.0-beta.6

    Type Alias GreaterThan<A, B, Fail>

    GreaterThan<A, B, Fail>: Subtract<A, B, "fail"> extends infer R extends number
        ? R extends 0
            ? false
            : IsPositive<R>
        : Fail

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    diff --git a/types/HasKey.html b/types/HasKey.html index 2811ac168..406c953a1 100644 --- a/types/HasKey.html +++ b/types/HasKey.html @@ -1 +1 @@ -HasKey | type-plus - v8.0.0-beta.6

    Type Alias HasKey<T, K, Then, Else>

    HasKey<T, K, Then, Else>: K extends keyof T
        ? Then
        : Else

    Type Parameters

    • T
    • K
    • Then = true
    • Else = false
    +HasKey | type-plus - v8.0.0-beta.6

    Type Alias HasKey<T, K, Then, Else>

    HasKey<T, K, Then, Else>: K extends keyof T
        ? Then
        : Else

    Type Parameters

    • T
    • K
    • Then = true
    • Else = false
    diff --git a/types/HasUndefined.html b/types/HasUndefined.html index 75f5a313e..cf68716b0 100644 --- a/types/HasUndefined.html +++ b/types/HasUndefined.html @@ -13,4 +13,4 @@
    type R = HasUndefined<undefined, $SelectionBranch> // $Then
    type R = HasUndefined<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/Head-1.html b/types/Head-1.html index a41fe0938..7ddb56e84 100644 --- a/types/Head-1.html +++ b/types/Head-1.html @@ -8,4 +8,4 @@ Default to never.

    Return type when T is []. Default to never.

    -
    +
    diff --git a/types/If.html b/types/If.html index 8dfd3fcab..6cfdf4d33 100644 --- a/types/If.html +++ b/types/If.html @@ -1 +1 @@ -If | type-plus - v8.0.0-beta.6

    Type Alias If<Condition, Then, Else>

    If<Condition, Then, Else>: Condition extends true
        ? Then
        : Else

    Type Parameters

    • Condition extends boolean
    • Then = true
    • Else = false
    +If | type-plus - v8.0.0-beta.6

    Type Alias If<Condition, Then, Else>

    If<Condition, Then, Else>: Condition extends true
        ? Then
        : Else

    Type Parameters

    • Condition extends boolean
    • Then = true
    • Else = false
    diff --git a/types/Increment.html b/types/Increment.html index 608947ae2..9f23042d1 100644 --- a/types/Increment.html +++ b/types/Increment.html @@ -1 +1 @@ -Increment | type-plus - v8.0.0-beta.6

    Type Alias Increment<N>

    Increment<N>: Add<N, 1>

    Type Parameters

    • N extends number | bigint
    +Increment | type-plus - v8.0.0-beta.6

    Type Alias Increment<N>

    Increment<N>: Add<N, 1>

    Type Parameters

    • N extends number | bigint
    diff --git a/types/IntersectOfProps.html b/types/IntersectOfProps.html index 1ac856c56..41878a291 100644 --- a/types/IntersectOfProps.html +++ b/types/IntersectOfProps.html @@ -1,3 +1,3 @@ IntersectOfProps | type-plus - v8.0.0-beta.6

    Type Alias IntersectOfProps<A, P>

    IntersectOfProps<A, P>: number extends A["length"]
        ? A[0][P]
        : A["length"] extends 0
            ? never
            : A["length"] extends 1
                ? A[0][P]
                : A[0][P] & IntersectOfProps<Tail<A>, P>

    🦴 utilities

    Gets the intersect of properties of the elements in A.

    -

    Type Parameters

    • A extends readonly Record<any, unknown>[]
    • P extends KeyTypes
    +

    Type Parameters

    • A extends readonly Record<any, unknown>[]
    • P extends KeyTypes
    diff --git a/types/IsAny-1.html b/types/IsAny-1.html index 32b0f9ed1..f349b5922 100644 --- a/types/IsAny-1.html +++ b/types/IsAny-1.html @@ -13,4 +13,4 @@
    type R = IsAny<any, $SelectionBranch> // $Then
    type R = IsAny<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsAny._Branch.html b/types/IsAny._Branch.html index f26743047..f3714be92 100644 --- a/types/IsAny._Branch.html +++ b/types/IsAny._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsAny._Options.html b/types/IsAny._Options.html index 6f0f71419..6ffa80b33 100644 --- a/types/IsAny._Options.html +++ b/types/IsAny._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsAnyOrNever.html b/types/IsAnyOrNever.html index 8cc065851..9d5482a48 100644 --- a/types/IsAnyOrNever.html +++ b/types/IsAnyOrNever.html @@ -5,4 +5,4 @@

    Type Parameters

    type R = IsAnyOrNever<any> // $Then
    type R = IsAnyOrNever<never> // $Then

    type R = IsAnyOrNever<1> // $Else
    type R = IsAnyOrNever<unknown> // $Else

    type R = IsAnyOrNever<never, $SelectionPredicate> // true
    type R = IsAnyOrNever<'a', $SelectionPredicate> // false
    -
    +
    diff --git a/types/IsArray-1.html b/types/IsArray-1.html index 63e8bf2f8..afff10eb0 100644 --- a/types/IsArray-1.html +++ b/types/IsArray-1.html @@ -23,4 +23,4 @@
    type R = IsArray<number[], IsArray.$Branch> // $Then
    type R = IsArray<number, IsArray.$Branch> // $Else
    -
    +
    diff --git a/types/IsArray._.html b/types/IsArray._.html index 40f5e1107..8ba373f63 100644 --- a/types/IsArray._.html +++ b/types/IsArray._.html @@ -2,4 +2,4 @@

    Validate if T is an array.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsArray._Branch.html b/types/IsArray._Branch.html index e75e626c5..e152d0aae 100644 --- a/types/IsArray._Branch.html +++ b/types/IsArray._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsArray._Options.html b/types/IsArray._Options.html index ff4d7d05b..c3f8a5510 100644 --- a/types/IsArray._Options.html +++ b/types/IsArray._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6

    Type Alias $Options

    $Options: $Equality.$Options & $ExactOptions
    +$Options | type-plus - v8.0.0-beta.6

    Type Alias $Options

    $Options: $Equality.$Options & $ExactOptions
    diff --git a/types/IsArray._UtilOptions.html b/types/IsArray._UtilOptions.html index 1e644d1c0..773911597 100644 --- a/types/IsArray._UtilOptions.html +++ b/types/IsArray._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    +$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    diff --git a/types/IsAssign.html b/types/IsAssign.html index a28673dc8..7d46132d6 100644 --- a/types/IsAssign.html +++ b/types/IsAssign.html @@ -1,2 +1,2 @@ IsAssign | type-plus - v8.0.0-beta.6

    Type Alias IsAssign<A, B, Then, Else>

    IsAssign<A, B, Then, Else>: CanAssign<A, B, Then, Else>

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false

    use Assignable<A, B> instead

    -
    +
    diff --git a/types/IsBigint-1.html b/types/IsBigint-1.html index 8c254fd3d..d445163b5 100644 --- a/types/IsBigint-1.html +++ b/types/IsBigint-1.html @@ -23,4 +23,4 @@
    type R = IsBigint<bigint, $SelectionBranch> // $Then
    type R = IsBigint<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsBigint._.html b/types/IsBigint._.html index 83ee0d48e..efd2b7844 100644 --- a/types/IsBigint._.html +++ b/types/IsBigint._.html @@ -2,4 +2,4 @@

    Validate if T is bigint or bigint literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsBigint._Branch.html b/types/IsBigint._Branch.html index 5f86d578a..58f8dfdbf 100644 --- a/types/IsBigint._Branch.html +++ b/types/IsBigint._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsBigint._Options.html b/types/IsBigint._Options.html index 769cb1556..11146c476 100644 --- a/types/IsBigint._Options.html +++ b/types/IsBigint._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsBigint._SD.html b/types/IsBigint._SD.html index 82ff1ca05..4664cc153 100644 --- a/types/IsBigint._SD.html +++ b/types/IsBigint._SD.html @@ -1 +1 @@ -_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsBigint._SN.html b/types/IsBigint._SN.html index ba2e2bd65..dc9d80d7f 100644 --- a/types/IsBigint._SN.html +++ b/types/IsBigint._SN.html @@ -1 +1 @@ -_SN | type-plus - v8.0.0-beta.6

    Type Alias _SN<T, $O>

    _SN<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_SN | type-plus - v8.0.0-beta.6

    Type Alias _SN<T, $O>

    _SN<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsBigint._UtilOptions.html b/types/IsBigint._UtilOptions.html index ef01633c6..a4bfb1c18 100644 --- a/types/IsBigint._UtilOptions.html +++ b/types/IsBigint._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    +$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    diff --git a/types/IsBigintLiteral-1.html b/types/IsBigintLiteral-1.html index c5d498d79..d0122653c 100644 --- a/types/IsBigintLiteral-1.html +++ b/types/IsBigintLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsBigintLiteral<1n, $SelectionBranch> // $Then
    type R = IsBigintLiteral<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsBigintLiteral._.html b/types/IsBigintLiteral._.html index 0c55372f9..d5f97c424 100644 --- a/types/IsBigintLiteral._.html +++ b/types/IsBigintLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is bigint literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsBigintLiteral._Branch.html b/types/IsBigintLiteral._Branch.html index 58098cf52..015c608d8 100644 --- a/types/IsBigintLiteral._Branch.html +++ b/types/IsBigintLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsBigintLiteral._D.html b/types/IsBigintLiteral._D.html index a21b83b0e..a6e6b693d 100644 --- a/types/IsBigintLiteral._D.html +++ b/types/IsBigintLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsBigintLiteral._N.html b/types/IsBigintLiteral._N.html index 7d1ea6e4a..34dec2006 100644 --- a/types/IsBigintLiteral._N.html +++ b/types/IsBigintLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsBigintLiteral._Options.html b/types/IsBigintLiteral._Options.html index d19a2d991..8b55df74d 100644 --- a/types/IsBigintLiteral._Options.html +++ b/types/IsBigintLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsBigintLiteral._UtilOptions.html b/types/IsBigintLiteral._UtilOptions.html index e4b1f7a39..77e28f587 100644 --- a/types/IsBigintLiteral._UtilOptions.html +++ b/types/IsBigintLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsBoolean-1.html b/types/IsBoolean-1.html index 60d0840d3..a3fc85f58 100644 --- a/types/IsBoolean-1.html +++ b/types/IsBoolean-1.html @@ -18,4 +18,4 @@
    type R = IsBoolean<boolean, $SelectionBranch> // $Then
    type R = IsBoolean<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsBoolean._.html b/types/IsBoolean._.html index 46f3f0525..88e1350dc 100644 --- a/types/IsBoolean._.html +++ b/types/IsBoolean._.html @@ -2,4 +2,4 @@

    Validate if T is boolean or boolean literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsBoolean._Branch.html b/types/IsBoolean._Branch.html index e3cc27a34..701149a21 100644 --- a/types/IsBoolean._Branch.html +++ b/types/IsBoolean._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsBoolean._DistributeMap.html b/types/IsBoolean._DistributeMap.html index 4a1c8bbb1..a9d699e34 100644 --- a/types/IsBoolean._DistributeMap.html +++ b/types/IsBoolean._DistributeMap.html @@ -1 +1 @@ -_DistributeMap | type-plus - v8.0.0-beta.6

    Type Alias _DistributeMap<T>

    _DistributeMap<T>: T extends true
        ? T extends false
            ? true extends T
                ? false extends T
                    ? "ABCD"
                    : "ABCd"
                : false extends T
                    ? "ABcD"
                    : "ABcd"
            : true extends T
                ? false extends T
                    ? "AbCD"
                    : "AbCd"
                : false extends T
                    ? "AbcD"
                    : "Abcd"
        : T extends false
            ? true extends T
                ? false extends T
                    ? "aBCD"
                    : "aBCd"
                : false extends T
                    ? "aBcD"
                    : "aBcd"
            : true extends T
                ? false extends T
                    ? "abCD"
                    : "abCd"
                : false extends T
                    ? "abcD"
                    : "abcd"

    Type Parameters

    • T
    +_DistributeMap | type-plus - v8.0.0-beta.6

    Type Alias _DistributeMap<T>

    _DistributeMap<T>: T extends true
        ? T extends false
            ? true extends T
                ? false extends T
                    ? "ABCD"
                    : "ABCd"
                : false extends T
                    ? "ABcD"
                    : "ABcd"
            : true extends T
                ? false extends T
                    ? "AbCD"
                    : "AbCd"
                : false extends T
                    ? "AbcD"
                    : "Abcd"
        : T extends false
            ? true extends T
                ? false extends T
                    ? "aBCD"
                    : "aBCd"
                : false extends T
                    ? "aBcD"
                    : "aBcd"
            : true extends T
                ? false extends T
                    ? "abCD"
                    : "abCd"
                : false extends T
                    ? "abcD"
                    : "abcd"

    Type Parameters

    • T
    diff --git a/types/IsBoolean._N.html b/types/IsBoolean._N.html index 9f1448d5f..3813358f2 100644 --- a/types/IsBoolean._N.html +++ b/types/IsBoolean._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [boolean]
        ? [T] extends [true]
            ? $ResolveBranch<T, $O, [$Else]>
            : [T] extends [false]
                ? $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [boolean]
        ? [T] extends [true]
            ? $ResolveBranch<T, $O, [$Else]>
            : [T] extends [false]
                ? $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsBoolean._Options.html b/types/IsBoolean._Options.html index 6c3abf71a..c4f61dc19 100644 --- a/types/IsBoolean._Options.html +++ b/types/IsBoolean._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsBoolean._SD.html b/types/IsBoolean._SD.html index ed826c9c4..8c2b8c4d4 100644 --- a/types/IsBoolean._SD.html +++ b/types/IsBoolean._SD.html @@ -1 +1 @@ -_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: _DistributeMap<T> extends infer R
        ? ["aBcD" | "AbCd" | "abcd"] extends [R]
            ? $ResolveBranch<boolean, $O, [$Then]> | $ResolveBranch<Exclude<T, boolean>, $O, [$Else]>
            : ["aBcD" | "AbCd"] extends [R]
                ? $ResolveBranch<T, $O, [$Then]>
                : ["aBcd" | "Abcd"] extends [R]
                    ? $ResolveBranch<T, $O, [$Then]>
                    : $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    +_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: _DistributeMap<T> extends infer R
        ? ["aBcD" | "AbCd" | "abcd"] extends [R]
            ? $ResolveBranch<boolean, $O, [$Then]> | $ResolveBranch<Exclude<T, boolean>, $O, [$Else]>
            : ["aBcD" | "AbCd"] extends [R]
                ? $ResolveBranch<T, $O, [$Then]>
                : ["aBcd" | "Abcd"] extends [R]
                    ? $ResolveBranch<T, $O, [$Then]>
                    : $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    diff --git a/types/IsBoolean._UtilOptions.html b/types/IsBoolean._UtilOptions.html index 6f05c8a88..ce182d785 100644 --- a/types/IsBoolean._UtilOptions.html +++ b/types/IsBoolean._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsDisjoint.html b/types/IsDisjoint.html index d04f29100..b075c0187 100644 --- a/types/IsDisjoint.html +++ b/types/IsDisjoint.html @@ -1,3 +1,3 @@ IsDisjoint | type-plus - v8.0.0-beta.6

    Type Alias IsDisjoint<A, B>

    IsDisjoint<A, B>: And<Not<HasKey<A, keyof B>>, Not<HasKey<B, keyof A>>>

    Are the two records disjoint from each other. Disjoint means no common property.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsEmptyObject.html b/types/IsEmptyObject.html index c050a1000..a4d8626e1 100644 --- a/types/IsEmptyObject.html +++ b/types/IsEmptyObject.html @@ -1 +1 @@ -IsEmptyObject | type-plus - v8.0.0-beta.6

    Type Alias IsEmptyObject<T>

    IsEmptyObject<T>: T extends {}
        ? {} extends T
            ? true
            : false
        : false

    Type Parameters

    • T
    +IsEmptyObject | type-plus - v8.0.0-beta.6

    Type Alias IsEmptyObject<T>

    IsEmptyObject<T>: T extends {}
        ? {} extends T
            ? true
            : false
        : false

    Type Parameters

    • T
    diff --git a/types/IsEqual.html b/types/IsEqual.html index 6ef3cf0ee..94958b37e 100644 --- a/types/IsEqual.html +++ b/types/IsEqual.html @@ -5,4 +5,4 @@

    Note that intersection type checks only works at first level. It cannot be check recursively, or else will run into infinite recursion if the type includes recursive types.

    -

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    +

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    diff --git a/types/IsExtend.html b/types/IsExtend.html index 3e7a90c61..3d2e68d91 100644 --- a/types/IsExtend.html +++ b/types/IsExtend.html @@ -1 +1 @@ -IsExtend | type-plus - v8.0.0-beta.6

    Type Alias IsExtend<A, B, Then, Else>

    IsExtend<A, B, Then, Else>: A extends B
        ? Then
        : Else

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    +IsExtend | type-plus - v8.0.0-beta.6

    Type Alias IsExtend<A, B, Then, Else>

    IsExtend<A, B, Then, Else>: A extends B
        ? Then
        : Else

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    diff --git a/types/IsFalse-1.html b/types/IsFalse-1.html index a187e53ce..fe7ca5fbc 100644 --- a/types/IsFalse-1.html +++ b/types/IsFalse-1.html @@ -18,4 +18,4 @@
    type R = IsFalse<false, $SelectionBranch> // $Then
    type R = IsFalse<boolean, $SelectionBranch> // $Then | $Else
    type R = IsFalse<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsFalse._.html b/types/IsFalse._.html index 64f3a0d18..7ea64a424 100644 --- a/types/IsFalse._.html +++ b/types/IsFalse._.html @@ -2,4 +2,4 @@

    Validate if T is false.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsFalse._Branch.html b/types/IsFalse._Branch.html index 82b599b30..1e7938ead 100644 --- a/types/IsFalse._Branch.html +++ b/types/IsFalse._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsFalse._Options.html b/types/IsFalse._Options.html index f6161227d..59a86129b 100644 --- a/types/IsFalse._Options.html +++ b/types/IsFalse._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsFalse._UtilOptions.html b/types/IsFalse._UtilOptions.html index 1e04a5dc2..c481c4586 100644 --- a/types/IsFalse._UtilOptions.html +++ b/types/IsFalse._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsFunction-1.html b/types/IsFunction-1.html index 2ca34ac52..41befdf68 100644 --- a/types/IsFunction-1.html +++ b/types/IsFunction-1.html @@ -18,4 +18,4 @@
    type R = IsFunction<Function, $SelectionBranch> // $Then
    type R = IsFunction<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsFunction._Branch.html b/types/IsFunction._Branch.html index 5615f8395..833fade21 100644 --- a/types/IsFunction._Branch.html +++ b/types/IsFunction._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsFunction._Default.html b/types/IsFunction._Default.html index 170d925f6..0ea740b8d 100644 --- a/types/IsFunction._Default.html +++ b/types/IsFunction._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    +$Default | type-plus - v8.0.0-beta.6
    diff --git a/types/IsFunction._Options.html b/types/IsFunction._Options.html index 53eadfe7b..55bd92bca 100644 --- a/types/IsFunction._Options.html +++ b/types/IsFunction._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsLiteral.html b/types/IsLiteral.html index 0a1590648..7589a1240 100644 --- a/types/IsLiteral.html +++ b/types/IsLiteral.html @@ -3,4 +3,4 @@

    Type Parameters

    • T extends
          | number
          | boolean
          | bigint
          | string
          | symbol
    • Then = true
    • Else = false
    type R = IsLiteral<string> // false
    type R = IsLiteral<number> // false
    type R = IsLiteral<boolean> // false
    type R = IsLiteral<bigint> // false
    type R = IsLiteral<symbol> // false

    type R = IsLiteral<'a'> // true
    type R = IsLiteral<1> // true
    type R = IsLiteral<true> // true
    type R = IsLiteral<1n> // true
    type R = IsLiteral<typeof someSymbol> // true
    -
    +
    diff --git a/types/IsLooseArray.html b/types/IsLooseArray.html index 0aef5dc40..9a8cf6acf 100644 --- a/types/IsLooseArray.html +++ b/types/IsLooseArray.html @@ -3,4 +3,4 @@

    Type Parameters

    • T
    • Then = true
    • Else = false
    type R = IsLooseArray<number[]> // true
    type R = IsLooseArray<[1]> // true

    type R = IsLooseArray<number> // false
    -
    +
    diff --git a/types/IsNever-1.html b/types/IsNever-1.html index 8f7c479a9..31a2c2764 100644 --- a/types/IsNever-1.html +++ b/types/IsNever-1.html @@ -16,4 +16,4 @@
    type R = IsNever<never, $SelectionBranch> // $Then
    type R = IsNever<1, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNever._Branch.html b/types/IsNever._Branch.html index f2554a1ba..a8e6f8640 100644 --- a/types/IsNever._Branch.html +++ b/types/IsNever._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNever._O.html b/types/IsNever._O.html index 63d7ea534..40845a6e2 100644 --- a/types/IsNever._O.html +++ b/types/IsNever._O.html @@ -1 +1 @@ -_O | type-plus - v8.0.0-beta.6

    Type Alias _O<$O>

    _O<$O>: "$else" extends keyof $O
        ? $O
        : $O["selection"] extends "filter"
            ? $O & {
                $else: $NotNever;
            }
            : $O

    Type Parameters

    +_O | type-plus - v8.0.0-beta.6

    Type Alias _O<$O>

    _O<$O>: "$else" extends keyof $O
        ? $O
        : $O["selection"] extends "filter"
            ? $O & {
                $else: $NotNever;
            }
            : $O

    Type Parameters

    diff --git a/types/IsNever._Options.html b/types/IsNever._Options.html index b12126b0c..02793fc4c 100644 --- a/types/IsNever._Options.html +++ b/types/IsNever._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotAny-1.html b/types/IsNotAny-1.html index a051650fe..f300fe7a1 100644 --- a/types/IsNotAny-1.html +++ b/types/IsNotAny-1.html @@ -13,4 +13,4 @@
    type R = IsNotAny<any, $SelectionBranch> // $Else
    type R = IsNotAny<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotAny._Branch.html b/types/IsNotAny._Branch.html index b91ee072b..9cc661b57 100644 --- a/types/IsNotAny._Branch.html +++ b/types/IsNotAny._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotAny._Options.html b/types/IsNotAny._Options.html index 878adc6b2..62cbcc550 100644 --- a/types/IsNotAny._Options.html +++ b/types/IsNotAny._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotArray-1.html b/types/IsNotArray-1.html index 33a9b51fa..6ef2f38fb 100644 --- a/types/IsNotArray-1.html +++ b/types/IsNotArray-1.html @@ -23,4 +23,4 @@
    type R = IsNotArray<number[], IsNotArray.$Branch> // $Else
    type R = IsNotArray<number, IsNotArray.$Branch> // $Then
    -
    +
    diff --git a/types/IsNotArray._.html b/types/IsNotArray._.html index b84ad9bab..e565cc7ed 100644 --- a/types/IsNotArray._.html +++ b/types/IsNotArray._.html @@ -2,4 +2,4 @@

    Validate if T is not an array.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotArray._Branch.html b/types/IsNotArray._Branch.html index 936f47c52..f1c5dd5c3 100644 --- a/types/IsNotArray._Branch.html +++ b/types/IsNotArray._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotArray._Options.html b/types/IsNotArray._Options.html index 7f0b81f57..4c2c3bbfa 100644 --- a/types/IsNotArray._Options.html +++ b/types/IsNotArray._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotArray._UtilOptions.html b/types/IsNotArray._UtilOptions.html index 31fb69a0d..2fe86e7a9 100644 --- a/types/IsNotArray._UtilOptions.html +++ b/types/IsNotArray._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBigint-1.html b/types/IsNotBigint-1.html index b3fd179e4..48695f335 100644 --- a/types/IsNotBigint-1.html +++ b/types/IsNotBigint-1.html @@ -23,4 +23,4 @@
    type R = IsNotBigint<string, $SelectionBranch> // $Then
    type R = IsNotBigint<bigint, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNotBigint._.html b/types/IsNotBigint._.html index 821d74493..de5945490 100644 --- a/types/IsNotBigint._.html +++ b/types/IsNotBigint._.html @@ -2,4 +2,4 @@

    Validate if T is not bigint nor bigint literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotBigint._Branch.html b/types/IsNotBigint._Branch.html index 4634d204a..b2c1fe7b8 100644 --- a/types/IsNotBigint._Branch.html +++ b/types/IsNotBigint._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotBigint._Options.html b/types/IsNotBigint._Options.html index 9e3d00b7b..07a4b7c82 100644 --- a/types/IsNotBigint._Options.html +++ b/types/IsNotBigint._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBigint._SD.html b/types/IsNotBigint._SD.html index 9af98522a..7b63d25f8 100644 --- a/types/IsNotBigint._SD.html +++ b/types/IsNotBigint._SD.html @@ -1 +1 @@ -_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotBigint._SN.html b/types/IsNotBigint._SN.html index 1d6798a37..048199579 100644 --- a/types/IsNotBigint._SN.html +++ b/types/IsNotBigint._SN.html @@ -1 +1 @@ -_SN | type-plus - v8.0.0-beta.6

    Type Alias _SN<T, $O>

    _SN<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_SN | type-plus - v8.0.0-beta.6

    Type Alias _SN<T, $O>

    _SN<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotBigint._UtilOptions.html b/types/IsNotBigint._UtilOptions.html index 1acaa844c..00f337fc5 100644 --- a/types/IsNotBigint._UtilOptions.html +++ b/types/IsNotBigint._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBigintLiteral-1.html b/types/IsNotBigintLiteral-1.html index 46b7aee54..e12b3c98a 100644 --- a/types/IsNotBigintLiteral-1.html +++ b/types/IsNotBigintLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsNotBigintLiteral<1n, $SelectionBranch> // $Else
    type R = IsNotBigintLiteral<bigint, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotBigintLiteral._.html b/types/IsNotBigintLiteral._.html index da414c0a7..0f6ef65c0 100644 --- a/types/IsNotBigintLiteral._.html +++ b/types/IsNotBigintLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is not number literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotBigintLiteral._Branch.html b/types/IsNotBigintLiteral._Branch.html index 1e51d7d6b..cccb6ab6d 100644 --- a/types/IsNotBigintLiteral._Branch.html +++ b/types/IsNotBigintLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBigintLiteral._D.html b/types/IsNotBigintLiteral._D.html index 17e70076a..ab15d2d72 100644 --- a/types/IsNotBigintLiteral._D.html +++ b/types/IsNotBigintLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotBigintLiteral._N.html b/types/IsNotBigintLiteral._N.html index 7f72f389d..6cfd2a7de 100644 --- a/types/IsNotBigintLiteral._N.html +++ b/types/IsNotBigintLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotBigintLiteral._Options.html b/types/IsNotBigintLiteral._Options.html index bc0685861..e18917ffe 100644 --- a/types/IsNotBigintLiteral._Options.html +++ b/types/IsNotBigintLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBigintLiteral._UtilOptions.html b/types/IsNotBigintLiteral._UtilOptions.html index 5d60e172b..9b021121c 100644 --- a/types/IsNotBigintLiteral._UtilOptions.html +++ b/types/IsNotBigintLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBoolean-1.html b/types/IsNotBoolean-1.html index 98f1ab7c0..33778a08c 100644 --- a/types/IsNotBoolean-1.html +++ b/types/IsNotBoolean-1.html @@ -18,4 +18,4 @@
    type R = IsNotBoolean<boolean, $SelectionBranch> // $Else
    type R = IsNotBoolean<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotBoolean._.html b/types/IsNotBoolean._.html index 17d29d0bb..96006c5d9 100644 --- a/types/IsNotBoolean._.html +++ b/types/IsNotBoolean._.html @@ -3,4 +3,4 @@ r This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotBoolean._Branch.html b/types/IsNotBoolean._Branch.html index 1fe1c7a8a..de2c59a64 100644 --- a/types/IsNotBoolean._Branch.html +++ b/types/IsNotBoolean._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBoolean._D.html b/types/IsNotBoolean._D.html index 6b83ed9d1..f355d79ca 100644 --- a/types/IsNotBoolean._D.html +++ b/types/IsNotBoolean._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: _DistributeMap<T> extends infer R
        ? ["aBcD" | "AbCd" | "abcd"] extends [R]
            ? $ResolveBranch<Exclude<T, boolean>, $O, [$Then | $Else]>
            : ["aBcD" | "AbCd"] extends [R]
                ? $ResolveBranch<T, $O, [$Else]>
                : ["aBcd" | "Abcd"] extends [R]
                    ? $ResolveBranch<T, $O, [$Else]>
                    : $ResolveBranch<T, $O, [$Then]>
        : never

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: _DistributeMap<T> extends infer R
        ? ["aBcD" | "AbCd" | "abcd"] extends [R]
            ? $ResolveBranch<Exclude<T, boolean>, $O, [$Then | $Else]>
            : ["aBcD" | "AbCd"] extends [R]
                ? $ResolveBranch<T, $O, [$Else]>
                : ["aBcd" | "Abcd"] extends [R]
                    ? $ResolveBranch<T, $O, [$Else]>
                    : $ResolveBranch<T, $O, [$Then]>
        : never

    Type Parameters

    diff --git a/types/IsNotBoolean._N.html b/types/IsNotBoolean._N.html index 67f35d05c..6f11f71ef 100644 --- a/types/IsNotBoolean._N.html +++ b/types/IsNotBoolean._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [boolean]
        ? [T] extends [true]
            ? $ResolveBranch<T, $O, [$Then]>
            : [T] extends [false]
                ? $ResolveBranch<T, $O, [$Then]>
                : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [boolean]
        ? [T] extends [true]
            ? $ResolveBranch<T, $O, [$Then]>
            : [T] extends [false]
                ? $ResolveBranch<T, $O, [$Then]>
                : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotBoolean._Options.html b/types/IsNotBoolean._Options.html index 86bfe1a24..0daade0d8 100644 --- a/types/IsNotBoolean._Options.html +++ b/types/IsNotBoolean._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBoolean._UtilOptions.html b/types/IsNotBoolean._UtilOptions.html index 749045078..eec46f600 100644 --- a/types/IsNotBoolean._UtilOptions.html +++ b/types/IsNotBoolean._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotEqual.html b/types/IsNotEqual.html index fce075607..23f5003bc 100644 --- a/types/IsNotEqual.html +++ b/types/IsNotEqual.html @@ -5,4 +5,4 @@

    Note that intersection type checks only works at first level. It cannot be check recursively, or else will run into infinite recursion if the type includes recursive types.

    -

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    +

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    diff --git a/types/IsNotExtend.html b/types/IsNotExtend.html index 8d17ab964..96ef0ce58 100644 --- a/types/IsNotExtend.html +++ b/types/IsNotExtend.html @@ -1 +1 @@ -IsNotExtend | type-plus - v8.0.0-beta.6

    Type Alias IsNotExtend<A, B, Then, Else>

    IsNotExtend<A, B, Then, Else>: A extends B
        ? Else
        : Then

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    +IsNotExtend | type-plus - v8.0.0-beta.6

    Type Alias IsNotExtend<A, B, Then, Else>

    IsNotExtend<A, B, Then, Else>: A extends B
        ? Else
        : Then

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    diff --git a/types/IsNotFalse-1.html b/types/IsNotFalse-1.html index f7d48bda1..18caad007 100644 --- a/types/IsNotFalse-1.html +++ b/types/IsNotFalse-1.html @@ -18,4 +18,4 @@
    type R = IsNotFalse<false, $SelectionBranch> // $Else
    type R = IsNotFalse<boolean, $SelectionBranch> // $Then | $Else
    type R = IsNotFalse<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotFalse._.html b/types/IsNotFalse._.html index c1da0a1be..5b7cd2810 100644 --- a/types/IsNotFalse._.html +++ b/types/IsNotFalse._.html @@ -2,4 +2,4 @@

    Validate if T is not false.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotFalse._Branch.html b/types/IsNotFalse._Branch.html index f1645d008..429b96f94 100644 --- a/types/IsNotFalse._Branch.html +++ b/types/IsNotFalse._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotFalse._Options.html b/types/IsNotFalse._Options.html index 9ae845a4f..464da3688 100644 --- a/types/IsNotFalse._Options.html +++ b/types/IsNotFalse._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotFalse._UtilOptions.html b/types/IsNotFalse._UtilOptions.html index 5f2972008..0e4074d9d 100644 --- a/types/IsNotFalse._UtilOptions.html +++ b/types/IsNotFalse._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotFunction-1.html b/types/IsNotFunction-1.html index 93321a766..3a230b2a1 100644 --- a/types/IsNotFunction-1.html +++ b/types/IsNotFunction-1.html @@ -18,4 +18,4 @@
    type R = IsNotFunction<Function, $SelectionBranch> // $Then
    type R = IsNotFunction<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNotFunction._Branch.html b/types/IsNotFunction._Branch.html index 5d1c8086a..fb26600ba 100644 --- a/types/IsNotFunction._Branch.html +++ b/types/IsNotFunction._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectInvert.$Branch
    +$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectInvert.$Branch
    diff --git a/types/IsNotFunction._Default.html b/types/IsNotFunction._Default.html index a75bdcb72..cf83c52fe 100644 --- a/types/IsNotFunction._Default.html +++ b/types/IsNotFunction._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvert.$Default
    +$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvert.$Default
    diff --git a/types/IsNotFunction._Options.html b/types/IsNotFunction._Options.html index 6dfdf452d..20ef3fc0e 100644 --- a/types/IsNotFunction._Options.html +++ b/types/IsNotFunction._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvert.$Options
    +$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvert.$Options
    diff --git a/types/IsNotLooseArray.html b/types/IsNotLooseArray.html index 6d66efed4..61c93f3b6 100644 --- a/types/IsNotLooseArray.html +++ b/types/IsNotLooseArray.html @@ -3,4 +3,4 @@

    Type Parameters

    • T
    • Then = true
    • Else = false
    type R = IsNotLooseArray<number[]> // false
    type R = IsNotLooseArray<[1]> // false

    type R = IsNotLooseArray<number> // true
    -
    +
    diff --git a/types/IsNotNever-1.html b/types/IsNotNever-1.html index 6aaca00e5..aa302420d 100644 --- a/types/IsNotNever-1.html +++ b/types/IsNotNever-1.html @@ -16,4 +16,4 @@
    type R = IsNotNever<never, $SelectionBranch> // $Else
    type R = IsNotNever<1, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotNever._Branch.html b/types/IsNotNever._Branch.html index 5442aac97..3bd79fd86 100644 --- a/types/IsNotNever._Branch.html +++ b/types/IsNotNever._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNever._O.html b/types/IsNotNever._O.html index 2329868d4..c5e5b484d 100644 --- a/types/IsNotNever._O.html +++ b/types/IsNotNever._O.html @@ -1 +1 @@ -_O | type-plus - v8.0.0-beta.6

    Type Alias _O<$O>

    _O<$O>: "$else" extends keyof $O
        ? $O
        : $O["selection"] extends "filter"
            ? $O & {
                $else: $Never;
            }
            : $O

    Type Parameters

    +_O | type-plus - v8.0.0-beta.6

    Type Alias _O<$O>

    _O<$O>: "$else" extends keyof $O
        ? $O
        : $O["selection"] extends "filter"
            ? $O & {
                $else: $Never;
            }
            : $O

    Type Parameters

    diff --git a/types/IsNotNever._Options.html b/types/IsNotNever._Options.html index 5f0379c27..7854f0235 100644 --- a/types/IsNotNever._Options.html +++ b/types/IsNotNever._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNull-1.html b/types/IsNotNull-1.html index a8a36f9f1..dfd36c9a2 100644 --- a/types/IsNotNull-1.html +++ b/types/IsNotNull-1.html @@ -18,4 +18,4 @@
    type R = IsNotNull<string, $SelectionBranch> // $Then
    type R = IsNotNull<null, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNotNull._.html b/types/IsNotNull._.html index 06419c2e0..f981a4947 100644 --- a/types/IsNotNull._.html +++ b/types/IsNotNull._.html @@ -2,4 +2,4 @@

    Validate if T is not null.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotNull._Branch.html b/types/IsNotNull._Branch.html index fe9375740..93648974e 100644 --- a/types/IsNotNull._Branch.html +++ b/types/IsNotNull._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotNull._Options.html b/types/IsNotNull._Options.html index 03691ba62..8a49c6042 100644 --- a/types/IsNotNull._Options.html +++ b/types/IsNotNull._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNull._UtilOptions.html b/types/IsNotNull._UtilOptions.html index b0797ba77..40f03ba0b 100644 --- a/types/IsNotNull._UtilOptions.html +++ b/types/IsNotNull._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNumberLiteral-1.html b/types/IsNotNumberLiteral-1.html index d964e40a2..a1dd598b2 100644 --- a/types/IsNotNumberLiteral-1.html +++ b/types/IsNotNumberLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsNotNumberLiteral<1, $SelectionBranch> // $Else
    type R = IsNotNumberLiteral<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotNumberLiteral._.html b/types/IsNotNumberLiteral._.html index e0d549fc3..5d53e5c66 100644 --- a/types/IsNotNumberLiteral._.html +++ b/types/IsNotNumberLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is not number literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotNumberLiteral._Branch.html b/types/IsNotNumberLiteral._Branch.html index 76a2fc6fc..a4255971a 100644 --- a/types/IsNotNumberLiteral._Branch.html +++ b/types/IsNotNumberLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNumberLiteral._D.html b/types/IsNotNumberLiteral._D.html index 9dd7f0c6a..ef7707bbd 100644 --- a/types/IsNotNumberLiteral._D.html +++ b/types/IsNotNumberLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotNumberLiteral._N.html b/types/IsNotNumberLiteral._N.html index 1e7319232..766edce45 100644 --- a/types/IsNotNumberLiteral._N.html +++ b/types/IsNotNumberLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotNumberLiteral._Options.html b/types/IsNotNumberLiteral._Options.html index ca6ddfca2..546f636fa 100644 --- a/types/IsNotNumberLiteral._Options.html +++ b/types/IsNotNumberLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNumberLiteral._UtilOptions.html b/types/IsNotNumberLiteral._UtilOptions.html index 17ed1f1d2..a6b76e511 100644 --- a/types/IsNotNumberLiteral._UtilOptions.html +++ b/types/IsNotNumberLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotObject-1.html b/types/IsNotObject-1.html index c7be22521..94de387c0 100644 --- a/types/IsNotObject-1.html +++ b/types/IsNotObject-1.html @@ -24,4 +24,4 @@
    type R = IsNotObject<{}, $SelectionBranch> // $Else
    type R = IsNotObject<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotObject._.html b/types/IsNotObject._.html index 555781b9b..e248812ff 100644 --- a/types/IsNotObject._.html +++ b/types/IsNotObject._.html @@ -2,4 +2,4 @@

    Validate if T is object or object literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotObject._Branch.html b/types/IsNotObject._Branch.html index b99776cd8..c2a47ffed 100644 --- a/types/IsNotObject._Branch.html +++ b/types/IsNotObject._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotObject._D.html b/types/IsNotObject._D.html index 2c6b2fad1..d2514064c 100644 --- a/types/IsNotObject._D.html +++ b/types/IsNotObject._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends object
        ? IdentityEqual<T, {}, $ResolveBranch<T, $O, [$Then]>, IsNever<keyof T, {
            $else: $ResolveBranch<T, $O, [$Then]>;
            $then: $ResolveBranch<T, $O, [$Else]>;
        }>>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends object
        ? IdentityEqual<T, {}, $ResolveBranch<T, $O, [$Then]>, IsNever<keyof T, {
            $else: $ResolveBranch<T, $O, [$Then]>;
            $then: $ResolveBranch<T, $O, [$Else]>;
        }>>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotObject._N.html b/types/IsNotObject._N.html index 846030b51..850856a55 100644 --- a/types/IsNotObject._N.html +++ b/types/IsNotObject._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [object & infer U]
        ? U extends object
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [object & infer U]
        ? U extends object
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotObject._Options.html b/types/IsNotObject._Options.html index 81503cb59..8b3e67c20 100644 --- a/types/IsNotObject._Options.html +++ b/types/IsNotObject._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotObject._UtilOptions.html b/types/IsNotObject._UtilOptions.html index 651d615ad..75e6dc57d 100644 --- a/types/IsNotObject._UtilOptions.html +++ b/types/IsNotObject._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotStrictFunction-1.html b/types/IsNotStrictFunction-1.html index 508baed80..20031437d 100644 --- a/types/IsNotStrictFunction-1.html +++ b/types/IsNotStrictFunction-1.html @@ -2,4 +2,4 @@
    type R = IsNotStrictFunction<Function> // false

    type R = IsNotStrictFunction<() => void> // true
    type R = IsNotStrictFunction<(() => void) & { a: 1 }> // true
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotStrictFunction._Branch.html b/types/IsNotStrictFunction._Branch.html index b11afb74e..c8c315baa 100644 --- a/types/IsNotStrictFunction._Branch.html +++ b/types/IsNotStrictFunction._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectInvertStrict.$Branch
    +$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectInvertStrict.$Branch
    diff --git a/types/IsNotStrictFunction._D.html b/types/IsNotStrictFunction._D.html index 7eeec5fa7..8ba66be88 100644 --- a/types/IsNotStrictFunction._D.html +++ b/types/IsNotStrictFunction._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends Function
        ? $ResolveBranch<T, $O, [T extends ((...args: any[]) => any)
            ? $Then
            : $Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends Function
        ? $ResolveBranch<T, $O, [T extends ((...args: any[]) => any)
            ? $Then
            : $Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStrictFunction._Default.html b/types/IsNotStrictFunction._Default.html index 680a1dfd5..75bffde47 100644 --- a/types/IsNotStrictFunction._Default.html +++ b/types/IsNotStrictFunction._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvertStrict.$Default
    +$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvertStrict.$Default
    diff --git a/types/IsNotStrictFunction._Options.html b/types/IsNotStrictFunction._Options.html index 70835a963..155f46f13 100644 --- a/types/IsNotStrictFunction._Options.html +++ b/types/IsNotStrictFunction._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvertStrict.$Options
    +$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvertStrict.$Options
    diff --git a/types/IsNotString-1.html b/types/IsNotString-1.html index 07fca7f25..d68fb01cb 100644 --- a/types/IsNotString-1.html +++ b/types/IsNotString-1.html @@ -18,4 +18,4 @@
    type R = IsNotString<string, $IsNotString.$Branch> // $Else
    type R = IsNotString<bigint, $IsNotString.$Branch> // $Then
    -
    +
    diff --git a/types/IsNotString._.html b/types/IsNotString._.html index 4c95ab1a0..af0c0c52a 100644 --- a/types/IsNotString._.html +++ b/types/IsNotString._.html @@ -2,4 +2,4 @@

    Validate if T is not string nor string literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotString._Branch.html b/types/IsNotString._Branch.html index ac85ebb32..58fd0875f 100644 --- a/types/IsNotString._Branch.html +++ b/types/IsNotString._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotString._D.html b/types/IsNotString._D.html index 886897003..e51c2367a 100644 --- a/types/IsNotString._D.html +++ b/types/IsNotString._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? U extends string
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? U extends string
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotString._N.html b/types/IsNotString._N.html index 787ca081f..6a47df5ee 100644 --- a/types/IsNotString._N.html +++ b/types/IsNotString._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? U extends string
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? U extends string
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotString._Options.html b/types/IsNotString._Options.html index c334e8973..a1299b477 100644 --- a/types/IsNotString._Options.html +++ b/types/IsNotString._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotString._UtilOptions.html b/types/IsNotString._UtilOptions.html index 7d410de76..df7e94a51 100644 --- a/types/IsNotString._UtilOptions.html +++ b/types/IsNotString._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotStringLiteral-1.html b/types/IsNotStringLiteral-1.html index 83183352f..4e3d890b2 100644 --- a/types/IsNotStringLiteral-1.html +++ b/types/IsNotStringLiteral-1.html @@ -23,4 +23,4 @@
    type R = IsNotStringLiteral<'abc', $IsNotStringLiteral.$Branch> // $Else
    type R = IsNotStringLiteral<string, $IsNotStringLiteral.$Branch> // $Then
    -
    +
    diff --git a/types/IsNotStringLiteral._.html b/types/IsNotStringLiteral._.html index d5faa549a..f5c62207b 100644 --- a/types/IsNotStringLiteral._.html +++ b/types/IsNotStringLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is string literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotStringLiteral._Branch.html b/types/IsNotStringLiteral._Branch.html index a88be72cc..27e94eabb 100644 --- a/types/IsNotStringLiteral._Branch.html +++ b/types/IsNotStringLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotStringLiteral._D.html b/types/IsNotStringLiteral._D.html index 5a6d968cb..2338d5d7f 100644 --- a/types/IsNotStringLiteral._D.html +++ b/types/IsNotStringLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? IsNotStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? IsNotStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._E.html b/types/IsNotStringLiteral._E.html index aa897a782..35abbd311 100644 --- a/types/IsNotStringLiteral._E.html +++ b/types/IsNotStringLiteral._E.html @@ -1 +1 @@ -_E | type-plus - v8.0.0-beta.6

    Type Alias _E<T, $O>

    _E<T, $O>: T extends string
        ? _StringType<T> extends infer R
            ? R extends "stringLiteral"
                ? $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
            : never
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_E | type-plus - v8.0.0-beta.6

    Type Alias _E<T, $O>

    _E<T, $O>: T extends string
        ? _StringType<T> extends infer R
            ? R extends "stringLiteral"
                ? $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
            : never
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._ED.html b/types/IsNotStringLiteral._ED.html index 3c3d753d2..fe254d81f 100644 --- a/types/IsNotStringLiteral._ED.html +++ b/types/IsNotStringLiteral._ED.html @@ -1 +1 @@ -_ED | type-plus - v8.0.0-beta.6

    Type Alias _ED<T, $O>

    _ED<T, $O>: T extends string
        ? IsNotStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_ED | type-plus - v8.0.0-beta.6

    Type Alias _ED<T, $O>

    _ED<T, $O>: T extends string
        ? IsNotStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._EN.html b/types/IsNotStringLiteral._EN.html index 49fa68107..82aaec2be 100644 --- a/types/IsNotStringLiteral._EN.html +++ b/types/IsNotStringLiteral._EN.html @@ -1 +1 @@ -_EN | type-plus - v8.0.0-beta.6

    Type Alias _EN<T, $O>

    _EN<T, $O>: [T] extends [string]
        ? IsNotStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_EN | type-plus - v8.0.0-beta.6

    Type Alias _EN<T, $O>

    _EN<T, $O>: [T] extends [string]
        ? IsNotStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._N.html b/types/IsNotStringLiteral._N.html index 4f2e7afaa..81c39cc1b 100644 --- a/types/IsNotStringLiteral._N.html +++ b/types/IsNotStringLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? IsNotStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? IsNotStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._Options.html b/types/IsNotStringLiteral._Options.html index 422830f3a..d7e32bf81 100644 --- a/types/IsNotStringLiteral._Options.html +++ b/types/IsNotStringLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotStringLiteral._U.html b/types/IsNotStringLiteral._U.html index fe4135efe..f428e7256 100644 --- a/types/IsNotStringLiteral._U.html +++ b/types/IsNotStringLiteral._U.html @@ -1 +1 @@ -_U | type-plus - v8.0.0-beta.6

    Type Alias _U<T, U, $O>

    _U<T, U, $O>: U extends `${any}`
        ? $ResolveBranch<T, $O, [$Else]>
        : U extends Uppercase<infer N>
            ? IsNotStringLiteral._D<N, $O>
            : U extends Lowercase<infer N>
                ? IsNotStringLiteral._D<N, $O>
                : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_U | type-plus - v8.0.0-beta.6

    Type Alias _U<T, U, $O>

    _U<T, U, $O>: U extends `${any}`
        ? $ResolveBranch<T, $O, [$Else]>
        : U extends Uppercase<infer N>
            ? IsNotStringLiteral._D<N, $O>
            : U extends Lowercase<infer N>
                ? IsNotStringLiteral._D<N, $O>
                : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._UtilOptions.html b/types/IsNotStringLiteral._UtilOptions.html index 419098410..d4f877d37 100644 --- a/types/IsNotStringLiteral._UtilOptions.html +++ b/types/IsNotStringLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotSymbol-1.html b/types/IsNotSymbol-1.html index 217bd7180..ce17041b0 100644 --- a/types/IsNotSymbol-1.html +++ b/types/IsNotSymbol-1.html @@ -18,4 +18,4 @@
    type R = IsNotSymbol<string, $SelectionBranch> // $Then
    type R = IsNotSymbol<symbol, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNotSymbol._.html b/types/IsNotSymbol._.html index 9870e803e..527b3761c 100644 --- a/types/IsNotSymbol._.html +++ b/types/IsNotSymbol._.html @@ -2,4 +2,4 @@

    Validate if T is null.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotSymbol._Branch.html b/types/IsNotSymbol._Branch.html index a9f8ab98b..a131848f8 100644 --- a/types/IsNotSymbol._Branch.html +++ b/types/IsNotSymbol._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotSymbol._Options.html b/types/IsNotSymbol._Options.html index 27748d834..48e9d6221 100644 --- a/types/IsNotSymbol._Options.html +++ b/types/IsNotSymbol._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotSymbol._UtilOptions.html b/types/IsNotSymbol._UtilOptions.html index 147c99555..8de3b3380 100644 --- a/types/IsNotSymbol._UtilOptions.html +++ b/types/IsNotSymbol._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTemplateLiteral-1.html b/types/IsNotTemplateLiteral-1.html index ccb4c5c4d..ce5db44c4 100644 --- a/types/IsNotTemplateLiteral-1.html +++ b/types/IsNotTemplateLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsNotTemplateLiteral<`${number}`, $IsNotTemplateLiteral.$Branch> // $Else
    type R = IsNotTemplateLiteral<bigint, $IsString.$Branch> // $Then
    -
    +
    diff --git a/types/IsNotTemplateLiteral._.html b/types/IsNotTemplateLiteral._.html index b160f5380..b5455643e 100644 --- a/types/IsNotTemplateLiteral._.html +++ b/types/IsNotTemplateLiteral._.html @@ -1 +1 @@ -$ | type-plus - v8.0.0-beta.6
    $<T, $O>: $IsDistributive<$O, {
        $else: _N<T, $O>;
        $then: _D<T, $O>;
    }>

    Type Parameters

    +$ | type-plus - v8.0.0-beta.6
    $<T, $O>: $IsDistributive<$O, {
        $else: _N<T, $O>;
        $then: _D<T, $O>;
    }>

    Type Parameters

    diff --git a/types/IsNotTemplateLiteral._Branch.html b/types/IsNotTemplateLiteral._Branch.html index 2b1c4f130..79d4a04fd 100644 --- a/types/IsNotTemplateLiteral._Branch.html +++ b/types/IsNotTemplateLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTemplateLiteral._Options.html b/types/IsNotTemplateLiteral._Options.html index 86853a667..9e88a92fa 100644 --- a/types/IsNotTemplateLiteral._Options.html +++ b/types/IsNotTemplateLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTemplateLiteral._UtilOptions.html b/types/IsNotTemplateLiteral._UtilOptions.html index c823de822..0bc55b10e 100644 --- a/types/IsNotTemplateLiteral._UtilOptions.html +++ b/types/IsNotTemplateLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTrue-1.html b/types/IsNotTrue-1.html index aac062ea0..75e56e3db 100644 --- a/types/IsNotTrue-1.html +++ b/types/IsNotTrue-1.html @@ -18,4 +18,4 @@
    type R = IsNotTrue<true, $SelectionBranch> // $Else
    type R = IsNotTrue<boolean, $SelectionBranch> // $Then | $Else
    type R = IsNotTrue<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotTrue._.html b/types/IsNotTrue._.html index 4debf7338..95fb7bf10 100644 --- a/types/IsNotTrue._.html +++ b/types/IsNotTrue._.html @@ -2,4 +2,4 @@

    Validate if T is not true.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotTrue._Branch.html b/types/IsNotTrue._Branch.html index f0b105d78..634881743 100644 --- a/types/IsNotTrue._Branch.html +++ b/types/IsNotTrue._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotTrue._Options.html b/types/IsNotTrue._Options.html index 89d6d85cb..b81473217 100644 --- a/types/IsNotTrue._Options.html +++ b/types/IsNotTrue._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTrue._UtilOptions.html b/types/IsNotTrue._UtilOptions.html index b13d79405..cd26d3294 100644 --- a/types/IsNotTrue._UtilOptions.html +++ b/types/IsNotTrue._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTuple-1.html b/types/IsNotTuple-1.html index 394298d5e..8300e4c89 100644 --- a/types/IsNotTuple-1.html +++ b/types/IsNotTuple-1.html @@ -18,4 +18,4 @@
    type R = IsNotTuple<bigint, IsNotTuple.$Branch> // $Then
    type R = IsNotTuple<[], IsNotTuple.$Branch> // $Else
    -
    +
    diff --git a/types/IsNotTuple._.html b/types/IsNotTuple._.html index 34a5e0db4..118105e1f 100644 --- a/types/IsNotTuple._.html +++ b/types/IsNotTuple._.html @@ -2,4 +2,4 @@

    Validate if T is bigint or bigint literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotTuple._Branch.html b/types/IsNotTuple._Branch.html index 087c3672f..8c6b62fb7 100644 --- a/types/IsNotTuple._Branch.html +++ b/types/IsNotTuple._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotTuple._Options.html b/types/IsNotTuple._Options.html index c10871c14..137147900 100644 --- a/types/IsNotTuple._Options.html +++ b/types/IsNotTuple._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTuple._UtilOptions.html b/types/IsNotTuple._UtilOptions.html index 3baa504dc..28c5b5acd 100644 --- a/types/IsNotTuple._UtilOptions.html +++ b/types/IsNotTuple._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotUndefined-1.html b/types/IsNotUndefined-1.html index b2022c89e..936c96063 100644 --- a/types/IsNotUndefined-1.html +++ b/types/IsNotUndefined-1.html @@ -18,4 +18,4 @@
    type R = IsNotUndefined<string, $SelectionBranch> // $Then
    type R = IsNotUndefined<undefined, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNotUndefined._.html b/types/IsNotUndefined._.html index 6336e3cc3..1509b0766 100644 --- a/types/IsNotUndefined._.html +++ b/types/IsNotUndefined._.html @@ -2,4 +2,4 @@

    Validate if T is undefined.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotUndefined._Branch.html b/types/IsNotUndefined._Branch.html index b13c69ad4..19d6505a6 100644 --- a/types/IsNotUndefined._Branch.html +++ b/types/IsNotUndefined._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotUndefined._Options.html b/types/IsNotUndefined._Options.html index c51629788..a44a74c75 100644 --- a/types/IsNotUndefined._Options.html +++ b/types/IsNotUndefined._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotUndefined._UtilOptions.html b/types/IsNotUndefined._UtilOptions.html index dcfbdc17e..efa5ceda1 100644 --- a/types/IsNotUndefined._UtilOptions.html +++ b/types/IsNotUndefined._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotUnknown-1.html b/types/IsNotUnknown-1.html index 47eeaf924..edeae76ca 100644 --- a/types/IsNotUnknown-1.html +++ b/types/IsNotUnknown-1.html @@ -13,4 +13,4 @@
    type R = IsNotUnknown<unknown, $SelectionBranch> // $Else
    type R = IsNotUnknown<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotUnknown._Branch.html b/types/IsNotUnknown._Branch.html index 97cb349de..e1ab08bc7 100644 --- a/types/IsNotUnknown._Branch.html +++ b/types/IsNotUnknown._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotUnknown._Options.html b/types/IsNotUnknown._Options.html index 11fe77d74..81c4654d8 100644 --- a/types/IsNotUnknown._Options.html +++ b/types/IsNotUnknown._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotVoid-1.html b/types/IsNotVoid-1.html index 755593f4e..f2579055f 100644 --- a/types/IsNotVoid-1.html +++ b/types/IsNotVoid-1.html @@ -18,4 +18,4 @@
    type R = IsNotVoid<void, $SelectionBranch> // $Else
    type R = IsNotVoid<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotVoid._.html b/types/IsNotVoid._.html index b20e2cf3d..4cd987264 100644 --- a/types/IsNotVoid._.html +++ b/types/IsNotVoid._.html @@ -2,4 +2,4 @@

    Validate if T is undefined.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotVoid._Branch.html b/types/IsNotVoid._Branch.html index 32c8d0d83..176005edc 100644 --- a/types/IsNotVoid._Branch.html +++ b/types/IsNotVoid._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotVoid._Options.html b/types/IsNotVoid._Options.html index 78433af96..c01060905 100644 --- a/types/IsNotVoid._Options.html +++ b/types/IsNotVoid._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotVoid._UtilOptions.html b/types/IsNotVoid._UtilOptions.html index 03e274f82..9f90a8d1e 100644 --- a/types/IsNotVoid._UtilOptions.html +++ b/types/IsNotVoid._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNull-1.html b/types/IsNull-1.html index d202d77d9..97ee0a1df 100644 --- a/types/IsNull-1.html +++ b/types/IsNull-1.html @@ -18,4 +18,4 @@
    type R = IsNull<null, $SelectionBranch> // $Then
    type R = IsNull<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNull._.html b/types/IsNull._.html index 3a37e4d39..2cf7bf7d7 100644 --- a/types/IsNull._.html +++ b/types/IsNull._.html @@ -2,4 +2,4 @@

    Validate if T is null.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNull._Branch.html b/types/IsNull._Branch.html index e3b79cf00..b001fa6cc 100644 --- a/types/IsNull._Branch.html +++ b/types/IsNull._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNull._Options.html b/types/IsNull._Options.html index 89ef95440..840dfd782 100644 --- a/types/IsNull._Options.html +++ b/types/IsNull._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNull._UtilOptions.html b/types/IsNull._UtilOptions.html index 0088e9bb3..3255e64c5 100644 --- a/types/IsNull._UtilOptions.html +++ b/types/IsNull._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNumberLiteral-1.html b/types/IsNumberLiteral-1.html index 5902fe826..db6fbd594 100644 --- a/types/IsNumberLiteral-1.html +++ b/types/IsNumberLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsNumberLiteral<1, $SelectionBranch> // $Then
    type R = IsNumberLiteral<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNumberLiteral._.html b/types/IsNumberLiteral._.html index dc710f955..0f28d17aa 100644 --- a/types/IsNumberLiteral._.html +++ b/types/IsNumberLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is number literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNumberLiteral._Branch.html b/types/IsNumberLiteral._Branch.html index 669fa2efd..e321ac31d 100644 --- a/types/IsNumberLiteral._Branch.html +++ b/types/IsNumberLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNumberLiteral._D.html b/types/IsNumberLiteral._D.html index d590c19f7..46b410b15 100644 --- a/types/IsNumberLiteral._D.html +++ b/types/IsNumberLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsNumberLiteral._N.html b/types/IsNumberLiteral._N.html index 46ae33478..ca6bc7f57 100644 --- a/types/IsNumberLiteral._N.html +++ b/types/IsNumberLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsNumberLiteral._Options.html b/types/IsNumberLiteral._Options.html index 283de84eb..33ccf214d 100644 --- a/types/IsNumberLiteral._Options.html +++ b/types/IsNumberLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNumberLiteral._UtilOptions.html b/types/IsNumberLiteral._UtilOptions.html index 4eb5c4c62..99eebe6f9 100644 --- a/types/IsNumberLiteral._UtilOptions.html +++ b/types/IsNumberLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsObject-1.html b/types/IsObject-1.html index e30601200..220c8a598 100644 --- a/types/IsObject-1.html +++ b/types/IsObject-1.html @@ -24,4 +24,4 @@
    type R = IsObject<{}, $SelectionBranch> // $Then
    type R = IsObject<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsObject._.html b/types/IsObject._.html index d049b52dc..8534ff2c3 100644 --- a/types/IsObject._.html +++ b/types/IsObject._.html @@ -2,4 +2,4 @@

    Validate if T is object or object literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsObject._Branch.html b/types/IsObject._Branch.html index 549f0f733..9ea10fb5f 100644 --- a/types/IsObject._Branch.html +++ b/types/IsObject._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsObject._D.html b/types/IsObject._D.html index 16f7c62cc..ce0fd9512 100644 --- a/types/IsObject._D.html +++ b/types/IsObject._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends object
        ? IdentityEqual<T, {}, $ResolveBranch<T, $O, [$Else]>, IsNever<keyof T, {
            $else: $ResolveBranch<T, $O, [$Else]>;
            $then: $ResolveBranch<T, $O, [$Then]>;
        }>>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends object
        ? IdentityEqual<T, {}, $ResolveBranch<T, $O, [$Else]>, IsNever<keyof T, {
            $else: $ResolveBranch<T, $O, [$Else]>;
            $then: $ResolveBranch<T, $O, [$Then]>;
        }>>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsObject._N.html b/types/IsObject._N.html index 2a1c9abd9..5db045494 100644 --- a/types/IsObject._N.html +++ b/types/IsObject._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [object & infer U]
        ? U extends object
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [object & infer U]
        ? U extends object
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsObject._Options.html b/types/IsObject._Options.html index f7ea1b3d9..d996a9c31 100644 --- a/types/IsObject._Options.html +++ b/types/IsObject._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsObject._UtilOptions.html b/types/IsObject._UtilOptions.html index b1af3a9f8..d61d4706e 100644 --- a/types/IsObject._UtilOptions.html +++ b/types/IsObject._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    +$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    diff --git a/types/IsOptionalKey.html b/types/IsOptionalKey.html index 1cf2bd673..eb2a7b4f7 100644 --- a/types/IsOptionalKey.html +++ b/types/IsOptionalKey.html @@ -3,4 +3,4 @@

    Type Parameters

    • T
    • K
    • Then = true
    • Else = false
    IsOptionalKey({ a: 1 }, 'a') // false
    IsOptionalKey({ a?: 1 }, 'a') // true
    -
    +
    diff --git a/types/IsRecord.html b/types/IsRecord.html index 33efa7ce7..550613e40 100644 --- a/types/IsRecord.html +++ b/types/IsRecord.html @@ -1 +1 @@ -IsRecord | type-plus - v8.0.0-beta.6

    Type Alias IsRecord<T>

    IsRecord<T>: T extends any[]
        ? false
        : T extends Record<any, any>
            ? true
            : false

    Type Parameters

    • T
    +IsRecord | type-plus - v8.0.0-beta.6

    Type Alias IsRecord<T>

    IsRecord<T>: T extends any[]
        ? false
        : T extends Record<any, any>
            ? true
            : false

    Type Parameters

    • T
    diff --git a/types/IsStrictFunction-1.html b/types/IsStrictFunction-1.html index d247a127e..2007a6250 100644 --- a/types/IsStrictFunction-1.html +++ b/types/IsStrictFunction-1.html @@ -2,4 +2,4 @@
    type R = IsStrictFunction<Function> // true

    type R = IsStrictFunction<() => void> // false
    type R = IsStrictFunction<(() => void) & { a: 1 }> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsStrictFunction._Branch.html b/types/IsStrictFunction._Branch.html index d7b737201..368ed94d8 100644 --- a/types/IsStrictFunction._Branch.html +++ b/types/IsStrictFunction._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectStrict.$Branch
    +$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectStrict.$Branch
    diff --git a/types/IsStrictFunction._D.html b/types/IsStrictFunction._D.html index 9af782920..5ef99f8d9 100644 --- a/types/IsStrictFunction._D.html +++ b/types/IsStrictFunction._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends Function
        ? T extends ((...args: any[]) => any)
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    • T
    • $O extends $SelectStrict.$Options
    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends Function
        ? T extends ((...args: any[]) => any)
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    • T
    • $O extends $SelectStrict.$Options
    diff --git a/types/IsStrictFunction._Default.html b/types/IsStrictFunction._Default.html index 0b988db4d..5d1ac307e 100644 --- a/types/IsStrictFunction._Default.html +++ b/types/IsStrictFunction._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectStrict.$Default
    +$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectStrict.$Default
    diff --git a/types/IsStrictFunction._Options.html b/types/IsStrictFunction._Options.html index 210a0ccd6..421d1220b 100644 --- a/types/IsStrictFunction._Options.html +++ b/types/IsStrictFunction._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectStrict.$Options
    +$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectStrict.$Options
    diff --git a/types/IsString-1.html b/types/IsString-1.html index 3dcc7e847..4756424cf 100644 --- a/types/IsString-1.html +++ b/types/IsString-1.html @@ -18,4 +18,4 @@
    type R = IsString<string, $IsString.$Branch> // $Then
    type R = IsString<bigint, $IsString.$Branch> // $Else
    -
    +
    diff --git a/types/IsString._.html b/types/IsString._.html index b74e56b3a..46118590d 100644 --- a/types/IsString._.html +++ b/types/IsString._.html @@ -2,4 +2,4 @@

    Validate if T is string or string literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsString._Branch.html b/types/IsString._Branch.html index f02e594fb..41cd6670f 100644 --- a/types/IsString._Branch.html +++ b/types/IsString._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsString._D.html b/types/IsString._D.html index 382e60925..433cf646c 100644 --- a/types/IsString._D.html +++ b/types/IsString._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? U extends string
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? U extends string
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsString._N.html b/types/IsString._N.html index d62354d73..03447135c 100644 --- a/types/IsString._N.html +++ b/types/IsString._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? U extends string
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? U extends string
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsString._Options.html b/types/IsString._Options.html index ed5647ac3..c139f0c61 100644 --- a/types/IsString._Options.html +++ b/types/IsString._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsString._UtilOptions.html b/types/IsString._UtilOptions.html index ac6388e9a..81ca1325f 100644 --- a/types/IsString._UtilOptions.html +++ b/types/IsString._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    +$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    diff --git a/types/IsStringLiteral-1.html b/types/IsStringLiteral-1.html index 56a4dd2af..b93201cf9 100644 --- a/types/IsStringLiteral-1.html +++ b/types/IsStringLiteral-1.html @@ -23,4 +23,4 @@
    type R = IsStringLiteral<'abc', $IsStringLiteral.$Branch> // $Then
    type R = IsStringLiteral<string, $IsStringLiteral.$Branch> // $Else
    -
    +
    diff --git a/types/IsStringLiteral._.html b/types/IsStringLiteral._.html index 3a0f0a4f7..a25ada7b8 100644 --- a/types/IsStringLiteral._.html +++ b/types/IsStringLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is string literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsStringLiteral._Branch.html b/types/IsStringLiteral._Branch.html index 6752f11c0..17a7637cc 100644 --- a/types/IsStringLiteral._Branch.html +++ b/types/IsStringLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsStringLiteral._D.html b/types/IsStringLiteral._D.html index 740ec176a..6293c51d4 100644 --- a/types/IsStringLiteral._D.html +++ b/types/IsStringLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? IsStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? IsStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._E.html b/types/IsStringLiteral._E.html index 12284c59f..6c2583643 100644 --- a/types/IsStringLiteral._E.html +++ b/types/IsStringLiteral._E.html @@ -1 +1 @@ -_E | type-plus - v8.0.0-beta.6

    Type Alias _E<T, $O>

    _E<T, $O>: T extends string
        ? _StringType<T> extends infer R
            ? R extends "stringLiteral"
                ? $ResolveBranch<T, $O, [$Then]>
                : $ResolveBranch<T, $O, [$Else]>
            : never
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_E | type-plus - v8.0.0-beta.6

    Type Alias _E<T, $O>

    _E<T, $O>: T extends string
        ? _StringType<T> extends infer R
            ? R extends "stringLiteral"
                ? $ResolveBranch<T, $O, [$Then]>
                : $ResolveBranch<T, $O, [$Else]>
            : never
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._ED.html b/types/IsStringLiteral._ED.html index 5cbd115d9..e86307ab7 100644 --- a/types/IsStringLiteral._ED.html +++ b/types/IsStringLiteral._ED.html @@ -1 +1 @@ -_ED | type-plus - v8.0.0-beta.6

    Type Alias _ED<T, $O>

    _ED<T, $O>: T extends string
        ? IsStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_ED | type-plus - v8.0.0-beta.6

    Type Alias _ED<T, $O>

    _ED<T, $O>: T extends string
        ? IsStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._EN.html b/types/IsStringLiteral._EN.html index f1d31596f..84ed433f7 100644 --- a/types/IsStringLiteral._EN.html +++ b/types/IsStringLiteral._EN.html @@ -1 +1 @@ -_EN | type-plus - v8.0.0-beta.6

    Type Alias _EN<T, $O>

    _EN<T, $O>: [T] extends [string]
        ? IsStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_EN | type-plus - v8.0.0-beta.6

    Type Alias _EN<T, $O>

    _EN<T, $O>: [T] extends [string]
        ? IsStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._N.html b/types/IsStringLiteral._N.html index e6adf5a08..986247e8d 100644 --- a/types/IsStringLiteral._N.html +++ b/types/IsStringLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? IsStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? IsStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._Options.html b/types/IsStringLiteral._Options.html index de3ec0c50..ba334fce9 100644 --- a/types/IsStringLiteral._Options.html +++ b/types/IsStringLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsStringLiteral._U.html b/types/IsStringLiteral._U.html index 2cf3360a5..3720cd7f4 100644 --- a/types/IsStringLiteral._U.html +++ b/types/IsStringLiteral._U.html @@ -1 +1 @@ -_U | type-plus - v8.0.0-beta.6

    Type Alias _U<T, U, $O>

    _U<T, U, $O>: U extends `${any}`
        ? $ResolveBranch<T, $O, [$Then]>
        : U extends Uppercase<infer N>
            ? IsStringLiteral._D<N, $O>
            : U extends Lowercase<infer N>
                ? IsStringLiteral._D<N, $O>
                : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_U | type-plus - v8.0.0-beta.6

    Type Alias _U<T, U, $O>

    _U<T, U, $O>: U extends `${any}`
        ? $ResolveBranch<T, $O, [$Then]>
        : U extends Uppercase<infer N>
            ? IsStringLiteral._D<N, $O>
            : U extends Lowercase<infer N>
                ? IsStringLiteral._D<N, $O>
                : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._UtilOptions.html b/types/IsStringLiteral._UtilOptions.html index 9a0bfa888..7d9cf7734 100644 --- a/types/IsStringLiteral._UtilOptions.html +++ b/types/IsStringLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsSymbol-1.html b/types/IsSymbol-1.html index 9abb2df9c..2dc152106 100644 --- a/types/IsSymbol-1.html +++ b/types/IsSymbol-1.html @@ -18,4 +18,4 @@
    type R = IsSymbol<symbol, $SelectionBranch> // $Then
    type R = IsSymbol<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsSymbol._.html b/types/IsSymbol._.html index 5d8a08229..154b49e9a 100644 --- a/types/IsSymbol._.html +++ b/types/IsSymbol._.html @@ -2,4 +2,4 @@

    Validate if T is symbol.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsSymbol._Branch.html b/types/IsSymbol._Branch.html index a0c254171..c5856d2f2 100644 --- a/types/IsSymbol._Branch.html +++ b/types/IsSymbol._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsSymbol._Options.html b/types/IsSymbol._Options.html index f4276f4eb..92bcc1282 100644 --- a/types/IsSymbol._Options.html +++ b/types/IsSymbol._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsSymbol._UtilOptions.html b/types/IsSymbol._UtilOptions.html index 7bae8faef..abef4cdc6 100644 --- a/types/IsSymbol._UtilOptions.html +++ b/types/IsSymbol._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTemplateLiteral-1.html b/types/IsTemplateLiteral-1.html index 0d322fc02..6d6b866c2 100644 --- a/types/IsTemplateLiteral-1.html +++ b/types/IsTemplateLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsTemplateLiteral<`${number}`, $IsTemplateLiteral.$Branch> // $Then
    type R = IsTemplateLiteral<bigint, $IsString.$Branch> // $Else
    -
    +
    diff --git a/types/IsTemplateLiteral._.html b/types/IsTemplateLiteral._.html index 1c9f62799..15c526b55 100644 --- a/types/IsTemplateLiteral._.html +++ b/types/IsTemplateLiteral._.html @@ -1 +1 @@ -$ | type-plus - v8.0.0-beta.6

    Type Alias $<T, $O>

    $<T, $O>: $IsDistributive<$O, {
        $else: _N<T, $O>;
        $then: _D<T, $O>;
    }>

    Type Parameters

    +$ | type-plus - v8.0.0-beta.6

    Type Alias $<T, $O>

    $<T, $O>: $IsDistributive<$O, {
        $else: _N<T, $O>;
        $then: _D<T, $O>;
    }>

    Type Parameters

    diff --git a/types/IsTemplateLiteral._Branch.html b/types/IsTemplateLiteral._Branch.html index 98aa3a408..b5598c688 100644 --- a/types/IsTemplateLiteral._Branch.html +++ b/types/IsTemplateLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTemplateLiteral._Options.html b/types/IsTemplateLiteral._Options.html index 2a10a6a0a..3764c22e5 100644 --- a/types/IsTemplateLiteral._Options.html +++ b/types/IsTemplateLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTemplateLiteral._UtilOptions.html b/types/IsTemplateLiteral._UtilOptions.html index cfa87dfff..e5f8a7785 100644 --- a/types/IsTemplateLiteral._UtilOptions.html +++ b/types/IsTemplateLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTrue-1.html b/types/IsTrue-1.html index 72ee9417a..4726354ac 100644 --- a/types/IsTrue-1.html +++ b/types/IsTrue-1.html @@ -18,4 +18,4 @@
    type R = IsTrue<true, $SelectionBranch> // $Then
    type R = IsTrue<boolean, $SelectionBranch> // $Then | $Else
    type R = IsTrue<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsTrue._.html b/types/IsTrue._.html index ad1f8271c..df20bea29 100644 --- a/types/IsTrue._.html +++ b/types/IsTrue._.html @@ -2,4 +2,4 @@

    Validate if T is true.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsTrue._Branch.html b/types/IsTrue._Branch.html index e26c7e75e..905da9413 100644 --- a/types/IsTrue._Branch.html +++ b/types/IsTrue._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsTrue._Options.html b/types/IsTrue._Options.html index a8eb48248..4b88bdf5c 100644 --- a/types/IsTrue._Options.html +++ b/types/IsTrue._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTrue._UtilOptions.html b/types/IsTrue._UtilOptions.html index a90ed7422..d9b29b998 100644 --- a/types/IsTrue._UtilOptions.html +++ b/types/IsTrue._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTuple-1.html b/types/IsTuple-1.html index 14d6cbe1c..c8be79567 100644 --- a/types/IsTuple-1.html +++ b/types/IsTuple-1.html @@ -18,4 +18,4 @@
    type R = IsTuple<[], IsTuple.$Branch> // $Then
    type R = IsTuple<string, IsTuple.$Branch> // $Else
    -
    +
    diff --git a/types/IsTuple._.html b/types/IsTuple._.html index bba9b9d65..307a55470 100644 --- a/types/IsTuple._.html +++ b/types/IsTuple._.html @@ -2,4 +2,4 @@

    Validate if T is tuple.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsTuple._Branch.html b/types/IsTuple._Branch.html index f7709988e..c2ad8bb6f 100644 --- a/types/IsTuple._Branch.html +++ b/types/IsTuple._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsTuple._Options.html b/types/IsTuple._Options.html index 38bd6bc74..53692c928 100644 --- a/types/IsTuple._Options.html +++ b/types/IsTuple._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTuple._UtilOptions.html b/types/IsTuple._UtilOptions.html index ba84b2bf1..dc3d87b8a 100644 --- a/types/IsTuple._UtilOptions.html +++ b/types/IsTuple._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsUndefined-1.html b/types/IsUndefined-1.html index f168d398a..464abe7df 100644 --- a/types/IsUndefined-1.html +++ b/types/IsUndefined-1.html @@ -18,4 +18,4 @@
    type R = IsUndefined<undefined, $SelectionBranch> // $Then
    type R = IsUndefined<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsUndefined._.html b/types/IsUndefined._.html index 864c1b7b9..d464a5b4f 100644 --- a/types/IsUndefined._.html +++ b/types/IsUndefined._.html @@ -2,4 +2,4 @@

    Validate if T is undefined.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsUndefined._Branch.html b/types/IsUndefined._Branch.html index ddb94ae04..c31645cda 100644 --- a/types/IsUndefined._Branch.html +++ b/types/IsUndefined._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsUndefined._Options.html b/types/IsUndefined._Options.html index 696fc59e8..0b7181d08 100644 --- a/types/IsUndefined._Options.html +++ b/types/IsUndefined._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsUndefined._UtilOptions.html b/types/IsUndefined._UtilOptions.html index 65ee754aa..e17f71b82 100644 --- a/types/IsUndefined._UtilOptions.html +++ b/types/IsUndefined._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsUnion.html b/types/IsUnion.html index 156e3293e..357d9a506 100644 --- a/types/IsUnion.html +++ b/types/IsUnion.html @@ -5,4 +5,4 @@
    type R = IsUnion<'a' | 'b'> // true
    type R = IsUnion<boolean> // true
    type R = IsUnion<number> // false
    -
    +
    diff --git a/types/IsUnknown-1.html b/types/IsUnknown-1.html index 14a404e5b..fef64376c 100644 --- a/types/IsUnknown-1.html +++ b/types/IsUnknown-1.html @@ -13,4 +13,4 @@
    type R = IsUnknown<unknown, $SelectionBranch> // $Then
    type R = IsUnknown<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsUnknown._Branch.html b/types/IsUnknown._Branch.html index 127ccce41..09368fa97 100644 --- a/types/IsUnknown._Branch.html +++ b/types/IsUnknown._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsUnknown._Options.html b/types/IsUnknown._Options.html index 8f62becc2..b7081500a 100644 --- a/types/IsUnknown._Options.html +++ b/types/IsUnknown._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsVoid-1.html b/types/IsVoid-1.html index 6af441cab..3bb81a6dd 100644 --- a/types/IsVoid-1.html +++ b/types/IsVoid-1.html @@ -18,4 +18,4 @@
    type R = IsVoid<void, $SelectionBranch> // $Then
    type R = IsVoid<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsVoid._.html b/types/IsVoid._.html index 2d1e17215..ba458c2a6 100644 --- a/types/IsVoid._.html +++ b/types/IsVoid._.html @@ -2,4 +2,4 @@

    Validate if T is undefined.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsVoid._Branch.html b/types/IsVoid._Branch.html index edf8a59e0..e214ecfd1 100644 --- a/types/IsVoid._Branch.html +++ b/types/IsVoid._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsVoid._Options.html b/types/IsVoid._Options.html index e750c4191..893e78842 100644 --- a/types/IsVoid._Options.html +++ b/types/IsVoid._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsVoid._UtilOptions.html b/types/IsVoid._UtilOptions.html index a356b1074..59b184b77 100644 --- a/types/IsVoid._UtilOptions.html +++ b/types/IsVoid._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/JSONArray.html b/types/JSONArray.html index 4f859b108..ef6b872a7 100644 --- a/types/JSONArray.html +++ b/types/JSONArray.html @@ -1 +1 @@ -JSONArray | type-plus - v8.0.0-beta.6

    Type Alias JSONArray

    JSONArray: JSONTypes[]
    +JSONArray | type-plus - v8.0.0-beta.6

    Type Alias JSONArray

    JSONArray: JSONTypes[]
    diff --git a/types/JSONObject.html b/types/JSONObject.html index 28c2ab2c5..2ef6eabc7 100644 --- a/types/JSONObject.html +++ b/types/JSONObject.html @@ -1 +1 @@ -JSONObject | type-plus - v8.0.0-beta.6

    Type Alias JSONObject

    JSONObject: {
        [key in string]?: JSONTypes
    }
    +JSONObject | type-plus - v8.0.0-beta.6

    Type Alias JSONObject

    JSONObject: {
        [key in string]?: JSONTypes
    }
    diff --git a/types/JSONPrimitive.html b/types/JSONPrimitive.html index 614d88452..ba3465d47 100644 --- a/types/JSONPrimitive.html +++ b/types/JSONPrimitive.html @@ -1 +1 @@ -JSONPrimitive | type-plus - v8.0.0-beta.6

    Type Alias JSONPrimitive

    JSONPrimitive:
        | boolean
        | number
        | string
        | null
    +JSONPrimitive | type-plus - v8.0.0-beta.6

    Type Alias JSONPrimitive

    JSONPrimitive:
        | boolean
        | number
        | string
        | null
    diff --git a/types/JSONTypes.html b/types/JSONTypes.html index 0d7ec14ab..f20098ca8 100644 --- a/types/JSONTypes.html +++ b/types/JSONTypes.html @@ -1 +1 @@ -JSONTypes | type-plus - v8.0.0-beta.6
    +JSONTypes | type-plus - v8.0.0-beta.6
    diff --git a/types/KeepMatch.html b/types/KeepMatch.html index d943d3c8f..8fad86e61 100644 --- a/types/KeepMatch.html +++ b/types/KeepMatch.html @@ -5,4 +5,4 @@
    type R = KeepMatch<[1, 2, 3], number> // [1, 2]
    type R = KeepMatch<Array<string|undefined>, string> // string[]
    -
    +
    diff --git a/types/KeyTypes.html b/types/KeyTypes.html index 156ec8f64..ed2f80f33 100644 --- a/types/KeyTypes.html +++ b/types/KeyTypes.html @@ -1,4 +1,4 @@ KeyTypes | type-plus - v8.0.0-beta.6

    Type Alias KeyTypes

    KeyTypes: keyof any

    Type of all keys. To get the keys of an object or array, use the keyof keyword. This is just a convenient type as keyof any is not obvious.

    -
    +
    diff --git a/types/KeysOfOptional.html b/types/KeysOfOptional.html index ab5091866..ffd8c7163 100644 --- a/types/KeysOfOptional.html +++ b/types/KeysOfOptional.html @@ -1 +1 @@ -KeysOfOptional | type-plus - v8.0.0-beta.6

    Type Alias KeysOfOptional<T>

    KeysOfOptional<T>: T extends Record<infer U, any>
        ? U
        : never

    Type Parameters

    • T
    +KeysOfOptional | type-plus - v8.0.0-beta.6

    Type Alias KeysOfOptional<T>

    KeysOfOptional<T>: T extends Record<infer U, any>
        ? U
        : never

    Type Parameters

    • T
    diff --git a/types/KeysWithDiffType.html b/types/KeysWithDiffType.html index 6d4037c9b..c02292fc1 100644 --- a/types/KeysWithDiffType.html +++ b/types/KeysWithDiffType.html @@ -1 +1 @@ -KeysWithDiffType | type-plus - v8.0.0-beta.6

    Type Alias KeysWithDiffType<A, B>

    KeysWithDiffType<A, B>: IsDisjoint<A, B> extends true
        ? never
        : ValueOf<{
            [k in keyof A & keyof B]: A[k] extends B[k]
                ? never
                : k
        }>

    Type Parameters

    +KeysWithDiffType | type-plus - v8.0.0-beta.6

    Type Alias KeysWithDiffType<A, B>

    KeysWithDiffType<A, B>: IsDisjoint<A, B> extends true
        ? never
        : ValueOf<{
            [k in keyof A & keyof B]: A[k] extends B[k]
                ? never
                : k
        }>

    Type Parameters

    diff --git a/types/KnownKeys.html b/types/KnownKeys.html index c2a3aef9a..eead9c461 100644 --- a/types/KnownKeys.html +++ b/types/KnownKeys.html @@ -1 +1 @@ -KnownKeys | type-plus - v8.0.0-beta.6

    Type Alias KnownKeys<T>

    KnownKeys<T>: T extends PrimitiveTypes
        ? never
        : {
                [K in keyof T]: string extends K
                    ? never
                    : number extends K
                        ? never
                        : K
            } extends {
                [_ in keyof T]: infer U
            }
            ? {} extends U
                ? never
                : U
            : never

    Type Parameters

    • T
    +KnownKeys | type-plus - v8.0.0-beta.6

    Type Alias KnownKeys<T>

    KnownKeys<T>: T extends PrimitiveTypes
        ? never
        : {
                [K in keyof T]: string extends K
                    ? never
                    : number extends K
                        ? never
                        : K
            } extends {
                [_ in keyof T]: infer U
            }
            ? {} extends U
                ? never
                : U
            : never

    Type Parameters

    • T
    diff --git a/types/Last-1.html b/types/Last-1.html index e4fb1f6ba..12905c7b9 100644 --- a/types/Last-1.html +++ b/types/Last-1.html @@ -7,4 +7,4 @@ Default to never.

    Return type when T is []. Default to never.

    -
    +
    diff --git a/types/LeftJoin.html b/types/LeftJoin.html index efa0071e0..660a550c1 100644 --- a/types/LeftJoin.html +++ b/types/LeftJoin.html @@ -1 +1 @@ -LeftJoin | type-plus - v8.0.0-beta.6

    Type Alias LeftJoin<A, B>

    LeftJoin<A, B>: IsEqual<A, B> extends true
        ? A
        : IsDisjoint<A, B> extends true
            ? A & B
            : Properties<{
                [k in Exclude<keyof A, keyof B>]: A[k]
            } & {
                [k in keyof B]: B[k]
            }>

    Type Parameters

    +LeftJoin | type-plus - v8.0.0-beta.6

    Type Alias LeftJoin<A, B>

    LeftJoin<A, B>: IsEqual<A, B> extends true
        ? A
        : IsDisjoint<A, B> extends true
            ? A & B
            : Properties<{
                [k in Exclude<keyof A, keyof B>]: A[k]
            } & {
                [k in keyof B]: B[k]
            }>

    Type Parameters

    diff --git a/types/LooseArrayType.html b/types/LooseArrayType.html index 3f8cce51b..21927a37e 100644 --- a/types/LooseArrayType.html +++ b/types/LooseArrayType.html @@ -5,4 +5,4 @@

    Type Parameters

    • T
    • Then = T
    • Else = never
    type R = LooseArrayType<number[]> // number[]
    type R = LooseArrayType<[1]> // [1]
    type R = LooseArrayType<number[] | 1> // number[]
    type R = LooseArrayType<number[] & 1> // number[]s

    type R = LooseArrayType<string> // never
    -
    +
    diff --git a/types/MapToProp.html b/types/MapToProp.html index a3c88e33e..efba8e516 100644 --- a/types/MapToProp.html +++ b/types/MapToProp.html @@ -1,3 +1,3 @@ MapToProp | type-plus - v8.0.0-beta.6

    Type Alias MapToProp<A, P>

    MapToProp<A, P>: IntersectOfProps<A, P>

    Gets the intersect of properties of the elements in A This will be deprecated in 4.0. Please use IntersectOfProps instead.

    -

    Type Parameters

    • A extends Record<any, any>[]
    • P extends KeyTypes
    +

    Type Parameters

    • A extends Record<any, any>[]
    • P extends KeyTypes
    diff --git a/types/MathPlus.ToNegative.html b/types/MathPlus.ToNegative.html index 7039fb8ca..5c57a0dfb 100644 --- a/types/MathPlus.ToNegative.html +++ b/types/MathPlus.ToNegative.html @@ -3,4 +3,4 @@

    Type Parameters

    • N extends number | bigint
    ToNegative<5> // -5
    ToNegative<0> // 0
    ToNegative<-5> // -5
    -
    +
    diff --git a/types/Max.html b/types/Max.html index 64eb5a882..6d3cff43d 100644 --- a/types/Max.html +++ b/types/Max.html @@ -1 +1 @@ -Max | type-plus - v8.0.0-beta.6

    Type Alias Max<A, B, Fail>

    Max<A, B, Fail>: GreaterThan<A, B> extends infer Result
        ? IsNever<Result> extends true
            ? Fail
            : Result extends true
                ? A
                : B
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    +Max | type-plus - v8.0.0-beta.6

    Type Alias Max<A, B, Fail>

    Max<A, B, Fail>: GreaterThan<A, B> extends infer Result
        ? IsNever<Result> extends true
            ? Fail
            : Result extends true
                ? A
                : B
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    diff --git a/types/MaybePromise.html b/types/MaybePromise.html index 3ec59ff27..0191c3165 100644 --- a/types/MaybePromise.html +++ b/types/MaybePromise.html @@ -1,2 +1,2 @@ MaybePromise | type-plus - v8.0.0-beta.6

    Type Alias MaybePromise<T>

    MaybePromise<T>: T | Promise<T>

    T | Promise<T>

    -

    Type Parameters

    • T
    +

    Type Parameters

    • T
    diff --git a/types/Merge.html b/types/Merge.html index 65df2bc00..236ecc6ae 100644 --- a/types/Merge.html +++ b/types/Merge.html @@ -5,4 +5,4 @@

    This is a more general type then ObjectPlus.Merge<A, B>, which constraints A and B to be Record.

    This type does not have such restrictions, and tries to handle the other types accordingly.

    -

    Type Parameters

    • A
    • B
    +

    Type Parameters

    • A
    • B
    diff --git a/types/Multiply.html b/types/Multiply.html index 8c8c26ec5..6836d3f9f 100644 --- a/types/Multiply.html +++ b/types/Multiply.html @@ -1 +1 @@ -Multiply | type-plus - v8.0.0-beta.6

    Type Alias Multiply<A, B, Fail>

    Multiply<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Multiply<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    +Multiply | type-plus - v8.0.0-beta.6

    Type Alias Multiply<A, B, Fail>

    Multiply<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Multiply<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    diff --git a/types/NoInfer.html b/types/NoInfer.html index ffd1531b4..031ff0572 100644 --- a/types/NoInfer.html +++ b/types/NoInfer.html @@ -9,4 +9,4 @@

    A build-in NoInfer is coming soon.

    -
    +
    diff --git a/types/NonComposableTypes.html b/types/NonComposableTypes.html index 20cf4f9c3..f4e481267 100644 --- a/types/NonComposableTypes.html +++ b/types/NonComposableTypes.html @@ -1,2 +1,2 @@ NonComposableTypes | type-plus - v8.0.0-beta.6

    Type Alias NonComposableTypes

    NonComposableTypes:
        | boolean
        | number
        | string
        | symbol
        | bigint
        | undefined
        | null

    Types that cannot contain custom properties.

    -
    +
    diff --git a/types/Not.html b/types/Not.html index ff5c1c092..b23e86dd3 100644 --- a/types/Not.html +++ b/types/Not.html @@ -1 +1 @@ -Not | type-plus - v8.0.0-beta.6

    Type Alias Not<X, Then, Else>

    Not<X, Then, Else>: X extends true
        ? Else
        : Then

    Type Parameters

    • X extends boolean
    • Then = true
    • Else = false
    +Not | type-plus - v8.0.0-beta.6

    Type Alias Not<X, Then, Else>

    Not<X, Then, Else>: X extends true
        ? Else
        : Then

    Type Parameters

    • X extends boolean
    • Then = true
    • Else = false
    diff --git a/types/NotAssignable-1.html b/types/NotAssignable-1.html index 0dd5dde9f..4403ddf84 100644 --- a/types/NotAssignable-1.html +++ b/types/NotAssignable-1.html @@ -18,4 +18,4 @@
    type R = NotAssignable<any, any, { $any: 1 }> // 1
    type R = NotAssignable<unknown, any, { $unknown: 1 }> // 1
    type R = NotAssignable<never, any, { $never: 1 }> // 1
    -
    +
    diff --git a/types/NotAssignable._.html b/types/NotAssignable._.html index 5effede6e..5a01f70a0 100644 --- a/types/NotAssignable._.html +++ b/types/NotAssignable._.html @@ -3,4 +3,4 @@

    This is the internal logic of NotAssignable. It does not check against special types.

    It is suitable for building custom types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NotAssignable._Branch.html b/types/NotAssignable._Branch.html index 8838ce39b..77a294f0a 100644 --- a/types/NotAssignable._Branch.html +++ b/types/NotAssignable._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/NotAssignable._Default.html b/types/NotAssignable._Default.html index defbba8d7..8573848df 100644 --- a/types/NotAssignable._Default.html +++ b/types/NotAssignable._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    +$Default | type-plus - v8.0.0-beta.6
    diff --git a/types/NotAssignable._Options.html b/types/NotAssignable._Options.html index 8299e1b2c..5fb04833e 100644 --- a/types/NotAssignable._Options.html +++ b/types/NotAssignable._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NotAssignable._UtilOptions.html b/types/NotAssignable._UtilOptions.html index 4803bdfa9..91df8687f 100644 --- a/types/NotAssignable._UtilOptions.html +++ b/types/NotAssignable._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/NotEqual.html b/types/NotEqual.html index 5a58a2169..cd233ec1c 100644 --- a/types/NotEqual.html +++ b/types/NotEqual.html @@ -4,4 +4,4 @@
    type R = NotEqual<1, 1> // false
    type R = NotEqual<any, any> // false
    type R = NotEqual<boolean, boolean> // false
    type R = NotEqual<true, true> // false
    type R = NotEqual<[1], [1]> // false

    type R = NotEqual<boolean, true> // true
    type R = NotEqual<any, 1> // true
    type R = NotEqual<[any], [1]> // true
    type R = NotEqual<{ a: 1 }, { a: 1; b: 2 }> // true
    -
    +
    diff --git a/types/NotExtendable.html b/types/NotExtendable.html index 4a22c9c62..791c49a53 100644 --- a/types/NotExtendable.html +++ b/types/NotExtendable.html @@ -1 +1 @@ -NotExtendable | type-plus - v8.0.0-beta.6

    Type Alias NotExtendable<A, B, Then, Else>

    NotExtendable<A, B, Then, Else>: A extends B
        ? Else
        : Then

    Type Parameters

    • A
    • B
    • Then = A
    • Else = never
    +NotExtendable | type-plus - v8.0.0-beta.6

    Type Alias NotExtendable<A, B, Then, Else>

    NotExtendable<A, B, Then, Else>: A extends B
        ? Else
        : Then

    Type Parameters

    • A
    • B
    • Then = A
    • Else = never
    diff --git a/types/NotLooseArrayType.html b/types/NotLooseArrayType.html index b040a60ce..d37e49141 100644 --- a/types/NotLooseArrayType.html +++ b/types/NotLooseArrayType.html @@ -3,4 +3,4 @@

    Type Parameters

    type R = NotLooseArrayType<number[]> // never
    type R = NotLooseArrayType<[1]> // never

    type R = NotLooseArrayType<number> // number
    -
    +
    diff --git a/types/NotUnknownOr.html b/types/NotUnknownOr.html index 2425fb57e..f42d900ee 100644 --- a/types/NotUnknownOr.html +++ b/types/NotUnknownOr.html @@ -8,4 +8,4 @@
    type R = NotUnknownOr<unknown, number> // number
     
    -
    +
    diff --git a/types/NumberPlus.IsInteger-1.html b/types/NumberPlus.IsInteger-1.html index 66c8da3b3..fa6913529 100644 --- a/types/NumberPlus.IsInteger-1.html +++ b/types/NumberPlus.IsInteger-1.html @@ -2,4 +2,4 @@
    type R = IsInteger<0> // true
    type R = IsInteger<1n> // true

    type R = IsInteger<1.1> // false
    type R = IsInteger<number> // false as it contains non-integer
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsInteger._Branch.html b/types/NumberPlus.IsInteger._Branch.html index 46ff47bfe..f605a34d3 100644 --- a/types/NumberPlus.IsInteger._Branch.html +++ b/types/NumberPlus.IsInteger._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsInteger._Options.html b/types/NumberPlus.IsInteger._Options.html index 6adaa2738..ae8ad7f64 100644 --- a/types/NumberPlus.IsInteger._Options.html +++ b/types/NumberPlus.IsInteger._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNegative-1.html b/types/NumberPlus.IsNegative-1.html index e8563586a..4d94ce807 100644 --- a/types/NumberPlus.IsNegative-1.html +++ b/types/NumberPlus.IsNegative-1.html @@ -2,4 +2,4 @@
    type R = IsNegative<-1> // true
    type R = IsNegative<-1n> // true

    type R = IsNegative<0> // false
    type R = IsNegative<1> // false

    type R = IsNegative<number> // boolean
    type R = IsNegative<bigint> // boolean
    type R = IsNegative<any> // boolean
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNegative._Branch.html b/types/NumberPlus.IsNegative._Branch.html index 45e26d996..a23314272 100644 --- a/types/NumberPlus.IsNegative._Branch.html +++ b/types/NumberPlus.IsNegative._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNegative._Negative.html b/types/NumberPlus.IsNegative._Negative.html index 2382b61cc..a68c23376 100644 --- a/types/NumberPlus.IsNegative._Negative.html +++ b/types/NumberPlus.IsNegative._Negative.html @@ -1 +1 @@ -_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U & infer R
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Then]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : [T, R] extends [R, T]
                    ? $ResolveBranch<T, $O, [$Else]>
                    : $ResolveBranch<number, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    +_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U & infer R
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Then]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : [T, R] extends [R, T]
                    ? $ResolveBranch<T, $O, [$Else]>
                    : $ResolveBranch<number, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    diff --git a/types/NumberPlus.IsNegative._Options.html b/types/NumberPlus.IsNegative._Options.html index 140f883fb..ebeffbd0b 100644 --- a/types/NumberPlus.IsNegative._Options.html +++ b/types/NumberPlus.IsNegative._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotInteger-1.html b/types/NumberPlus.IsNotInteger-1.html index 082e963d0..1e04ad40b 100644 --- a/types/NumberPlus.IsNotInteger-1.html +++ b/types/NumberPlus.IsNotInteger-1.html @@ -2,4 +2,4 @@
    import type { IsNotInteger } from 'type-plus'

    type R = IsNotInteger<1.1> // true
    type R = IsNotInteger<number> // true as it contains non-integer

    type R = IsNotInteger<0> // false
    type R = IsNotInteger<1n> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNotInteger._Branch.html b/types/NumberPlus.IsNotInteger._Branch.html index 50fc7ec14..7351a58e7 100644 --- a/types/NumberPlus.IsNotInteger._Branch.html +++ b/types/NumberPlus.IsNotInteger._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotInteger._Options.html b/types/NumberPlus.IsNotInteger._Options.html index f5898e160..2e3e20dce 100644 --- a/types/NumberPlus.IsNotInteger._Options.html +++ b/types/NumberPlus.IsNotInteger._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotNegative-1.html b/types/NumberPlus.IsNotNegative-1.html index ba2f27ac7..368fed886 100644 --- a/types/NumberPlus.IsNotNegative-1.html +++ b/types/NumberPlus.IsNotNegative-1.html @@ -2,4 +2,4 @@
    type R = IsNotNegative<1> // true
    type R = IsNotNegative<0> // true
    type R = IsNotNegative<1n> // true

    type R = IsNotNegative<-1> // false

    type R = IsNotNegative<number> // boolean
    type R = IsNotNegative<bigint> // boolean
    type R = IsNotNegative<any> // boolean
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNegative._Branch.html b/types/NumberPlus.IsNotNegative._Branch.html index c6152773d..8525eeef2 100644 --- a/types/NumberPlus.IsNotNegative._Branch.html +++ b/types/NumberPlus.IsNotNegative._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotNegative._Negative.html b/types/NumberPlus.IsNotNegative._Negative.html index cf10f6140..6caa4b034 100644 --- a/types/NumberPlus.IsNotNegative._Negative.html +++ b/types/NumberPlus.IsNotNegative._Negative.html @@ -1 +1 @@ -_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Else]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
        : never

    Type Parameters

    +_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Else]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
        : never

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNegative._Options.html b/types/NumberPlus.IsNotNegative._Options.html index df4214064..fd34e3da6 100644 --- a/types/NumberPlus.IsNotNegative._Options.html +++ b/types/NumberPlus.IsNotNegative._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotNumber-1.html b/types/NumberPlus.IsNotNumber-1.html index 6d78b5a2d..47620d9e1 100644 --- a/types/NumberPlus.IsNotNumber-1.html +++ b/types/NumberPlus.IsNotNumber-1.html @@ -18,4 +18,4 @@
    type R = IsNotNumber<string, $SelectionBranch> // $Then
    type R = IsNotNumber<number, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/NumberPlus.IsNotNumber._.html b/types/NumberPlus.IsNotNumber._.html index b36c5fae1..de9a58b94 100644 --- a/types/NumberPlus.IsNotNumber._.html +++ b/types/NumberPlus.IsNotNumber._.html @@ -2,4 +2,4 @@

    Validate if T is not number nor number literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNumber._Branch.html b/types/NumberPlus.IsNotNumber._Branch.html index 49815b64e..7dd47ce4f 100644 --- a/types/NumberPlus.IsNotNumber._Branch.html +++ b/types/NumberPlus.IsNotNumber._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotNumber._D.html b/types/NumberPlus.IsNotNumber._D.html index 5c25b2473..e10c31b28 100644 --- a/types/NumberPlus.IsNotNumber._D.html +++ b/types/NumberPlus.IsNotNumber._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6
    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6
    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNumber._N.html b/types/NumberPlus.IsNotNumber._N.html index 4f299962d..250b0762b 100644 --- a/types/NumberPlus.IsNotNumber._N.html +++ b/types/NumberPlus.IsNotNumber._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6
    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6
    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNumber._Options.html b/types/NumberPlus.IsNotNumber._Options.html index 32d1e6efc..9930d7d34 100644 --- a/types/NumberPlus.IsNotNumber._Options.html +++ b/types/NumberPlus.IsNotNumber._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotNumber._UtilOptions.html b/types/NumberPlus.IsNotNumber._UtilOptions.html index b6346debd..47ca16b2d 100644 --- a/types/NumberPlus.IsNotNumber._UtilOptions.html +++ b/types/NumberPlus.IsNotNumber._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotNumeric-1.html b/types/NumberPlus.IsNotNumeric-1.html index 3e8ca961f..9497cff68 100644 --- a/types/NumberPlus.IsNotNumeric-1.html +++ b/types/NumberPlus.IsNotNumeric-1.html @@ -2,4 +2,4 @@
    type R = IsNotNumeric<1> // false
    type R = IsNotNumeric<1.1> // false

    type R = IsNotNumeric<string> // true
    type R = IsNotNumeric<unknown> // true
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNumeric._Branch.html b/types/NumberPlus.IsNotNumeric._Branch.html index 1ded2c814..73949ab40 100644 --- a/types/NumberPlus.IsNotNumeric._Branch.html +++ b/types/NumberPlus.IsNotNumeric._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotNumeric._Default.html b/types/NumberPlus.IsNotNumeric._Default.html index 0d6d57023..f46875073 100644 --- a/types/NumberPlus.IsNotNumeric._Default.html +++ b/types/NumberPlus.IsNotNumeric._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvert.$Default
    +$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvert.$Default
    diff --git a/types/NumberPlus.IsNotNumeric._Options.html b/types/NumberPlus.IsNotNumeric._Options.html index c772237a9..38fc0f622 100644 --- a/types/NumberPlus.IsNotNumeric._Options.html +++ b/types/NumberPlus.IsNotNumeric._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvert.$Options
    +$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvert.$Options
    diff --git a/types/NumberPlus.IsNotPositive-1.html b/types/NumberPlus.IsNotPositive-1.html index eb240668c..74822636e 100644 --- a/types/NumberPlus.IsNotPositive-1.html +++ b/types/NumberPlus.IsNotPositive-1.html @@ -2,4 +2,4 @@
    type R = IsNotPositive<-1> // true
    type R = IsNotPositive<-1n> // true

    type R = IsNotPositive<0> // false
    type R = IsNotPositive<1> // false

    type R = IsNotPositive<number> // boolean
    type R = IsNotPositive<bigint> // boolean
    type R = IsNotPositive<any> // boolean
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNotPositive._Branch.html b/types/NumberPlus.IsNotPositive._Branch.html index b8b4a3828..2eeb6c09a 100644 --- a/types/NumberPlus.IsNotPositive._Branch.html +++ b/types/NumberPlus.IsNotPositive._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotPositive._Negative.html b/types/NumberPlus.IsNotPositive._Negative.html index 41cfad497..9ebac6cdc 100644 --- a/types/NumberPlus.IsNotPositive._Negative.html +++ b/types/NumberPlus.IsNotPositive._Negative.html @@ -1 +1 @@ -_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Then]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    +_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Then]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    diff --git a/types/NumberPlus.IsNotPositive._Options.html b/types/NumberPlus.IsNotPositive._Options.html index 7bcf2f393..df2e96954 100644 --- a/types/NumberPlus.IsNotPositive._Options.html +++ b/types/NumberPlus.IsNotPositive._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNumber-1.html b/types/NumberPlus.IsNumber-1.html index 6a49d1fbf..6cf729719 100644 --- a/types/NumberPlus.IsNumber-1.html +++ b/types/NumberPlus.IsNumber-1.html @@ -18,4 +18,4 @@
    type R = IsNumber<number, $SelectionBranch> // $Then
    type R = IsNumber<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/NumberPlus.IsNumber._.html b/types/NumberPlus.IsNumber._.html index 2ad8c5164..c06a8f503 100644 --- a/types/NumberPlus.IsNumber._.html +++ b/types/NumberPlus.IsNumber._.html @@ -2,4 +2,4 @@

    Validate if T is number or number literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNumber._Branch.html b/types/NumberPlus.IsNumber._Branch.html index 0d888a05a..967d4b0db 100644 --- a/types/NumberPlus.IsNumber._Branch.html +++ b/types/NumberPlus.IsNumber._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNumber._D.html b/types/NumberPlus.IsNumber._D.html index 94aff3ed6..dcd22dcc4 100644 --- a/types/NumberPlus.IsNumber._D.html +++ b/types/NumberPlus.IsNumber._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/NumberPlus.IsNumber._N.html b/types/NumberPlus.IsNumber._N.html index 6d13bacde..0f1dbce90 100644 --- a/types/NumberPlus.IsNumber._N.html +++ b/types/NumberPlus.IsNumber._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/NumberPlus.IsNumber._Options.html b/types/NumberPlus.IsNumber._Options.html index 0d43562f9..6425c11c9 100644 --- a/types/NumberPlus.IsNumber._Options.html +++ b/types/NumberPlus.IsNumber._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNumber._UtilOptions.html b/types/NumberPlus.IsNumber._UtilOptions.html index 64349b74e..c427e5f1e 100644 --- a/types/NumberPlus.IsNumber._UtilOptions.html +++ b/types/NumberPlus.IsNumber._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNumeric-1.html b/types/NumberPlus.IsNumeric-1.html index 6ff9d669a..65056eea8 100644 --- a/types/NumberPlus.IsNumeric-1.html +++ b/types/NumberPlus.IsNumeric-1.html @@ -2,4 +2,4 @@
    type R = IsNumeric<1> // true
    type R = IsNumeric<1.1> // true

    type R = IsNumeric<string> // false
    type R = IsNumeric<unknown> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNumeric._Branch.html b/types/NumberPlus.IsNumeric._Branch.html index 3b51e4990..5ab9e6bee 100644 --- a/types/NumberPlus.IsNumeric._Branch.html +++ b/types/NumberPlus.IsNumeric._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNumeric._Default.html b/types/NumberPlus.IsNumeric._Default.html index 73d8a74ba..b66cbaf37 100644 --- a/types/NumberPlus.IsNumeric._Default.html +++ b/types/NumberPlus.IsNumeric._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    +$Default | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNumeric._Options.html b/types/NumberPlus.IsNumeric._Options.html index d167292bb..9527caf89 100644 --- a/types/NumberPlus.IsNumeric._Options.html +++ b/types/NumberPlus.IsNumeric._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsPositive-1.html b/types/NumberPlus.IsPositive-1.html index e7ce5e105..85a115bd6 100644 --- a/types/NumberPlus.IsPositive-1.html +++ b/types/NumberPlus.IsPositive-1.html @@ -2,4 +2,4 @@
    type R = IsPositive<1> // true
    type R = IsPositive<0> // true
    type R = IsPositive<1n> // true

    type R = IsPositive<number> // boolean
    type R = IsPositive<bigint> // boolean
    type R = IsPositive<any> // boolean

    type R = IsPositive<-1> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsPositive._Branch.html b/types/NumberPlus.IsPositive._Branch.html index 236c1274f..64b7a6a9d 100644 --- a/types/NumberPlus.IsPositive._Branch.html +++ b/types/NumberPlus.IsPositive._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsPositive._Options.html b/types/NumberPlus.IsPositive._Options.html index f7639ce20..6c47bf54c 100644 --- a/types/NumberPlus.IsPositive._Options.html +++ b/types/NumberPlus.IsPositive._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsPositive._Positive.html b/types/NumberPlus.IsPositive._Positive.html index d0db769a9..276e981fd 100644 --- a/types/NumberPlus.IsPositive._Positive.html +++ b/types/NumberPlus.IsPositive._Positive.html @@ -1 +1 @@ -_Positive | type-plus - v8.0.0-beta.6

    Type Alias _Positive<T, U, $O>

    _Positive<T, U, $O>: T extends U & infer R
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Else]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : [T, R] extends [R, T]
                    ? $ResolveBranch<T, $O, [$Then]>
                    : $ResolveBranch<number, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    +_Positive | type-plus - v8.0.0-beta.6

    Type Alias _Positive<T, U, $O>

    _Positive<T, U, $O>: T extends U & infer R
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Else]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : [T, R] extends [R, T]
                    ? $ResolveBranch<T, $O, [$Then]>
                    : $ResolveBranch<number, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    diff --git a/types/NumberPlus.Numeric.html b/types/NumberPlus.Numeric.html index 8b3372b19..6925f633d 100644 --- a/types/NumberPlus.Numeric.html +++ b/types/NumberPlus.Numeric.html @@ -1,2 +1,2 @@ Numeric | type-plus - v8.0.0-beta.6

    Type Alias Numeric

    Numeric: number | bigint

    Either number or bigint.

    -
    +
    diff --git a/types/NumberPlus.Zero.html b/types/NumberPlus.Zero.html index 3f0f900c6..96fbf9535 100644 --- a/types/NumberPlus.Zero.html +++ b/types/NumberPlus.Zero.html @@ -1,2 +1,2 @@ Zero | type-plus - v8.0.0-beta.6
    Zero: 0 | 0n

    The value 0 in number or bigint.

    -
    +
    diff --git a/types/NumericToString.html b/types/NumericToString.html index 5094b3728..c1847d4c3 100644 --- a/types/NumericToString.html +++ b/types/NumericToString.html @@ -2,4 +2,4 @@
    NumericToString<1> // '1'
    NumericToString<1.23> // '1.23'
    NumericToString<0.00123> // '0.00123'
    NumericToString<1n> // '1n'
    NumericToString<-1> // '-1'
    NumericToString<-1n> // '-1n'
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/ObjectPlus.Merge-1.html b/types/ObjectPlus.Merge-1.html index 2562af3e9..83bdc74e9 100644 --- a/types/ObjectPlus.Merge-1.html +++ b/types/ObjectPlus.Merge-1.html @@ -4,4 +4,4 @@

    This type performs the same operations as { ...a, ...b } but at the type level.

    It handles cases like A or B are Record, joining between required and optional props, etc.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/ObjectPlus.Merge.Cases.html b/types/ObjectPlus.Merge.Cases.html index 260d96057..6d9781777 100644 --- a/types/ObjectPlus.Merge.Cases.html +++ b/types/ObjectPlus.Merge.Cases.html @@ -1 +1 @@ -Cases | type-plus - v8.0.0-beta.6
    Cases: {
        $never: $Never;
    }
    +Cases | type-plus - v8.0.0-beta.6
    Cases: {
        $never: $Never;
    }
    diff --git a/types/ObjectPlus.Merge.JoinProps.html b/types/ObjectPlus.Merge.JoinProps.html index 768e571fb..ed72a646b 100644 --- a/types/ObjectPlus.Merge.JoinProps.html +++ b/types/ObjectPlus.Merge.JoinProps.html @@ -1 +1 @@ -JoinProps | type-plus - v8.0.0-beta.6

    Type Alias JoinProps<A, B>

    JoinProps<A, B>: A extends NonComposableTypes
        ? B
        : B extends NonComposableTypes
            ? A
            : A & B

    Type Parameters

    • A
    • B
    +JoinProps | type-plus - v8.0.0-beta.6

    Type Alias JoinProps<A, B>

    JoinProps<A, B>: A extends NonComposableTypes
        ? B
        : B extends NonComposableTypes
            ? A
            : A & B

    Type Parameters

    • A
    • B
    diff --git a/types/ObjectPlus.Merge.Options.html b/types/ObjectPlus.Merge.Options.html index 5d0dc9a0b..7491b48eb 100644 --- a/types/ObjectPlus.Merge.Options.html +++ b/types/ObjectPlus.Merge.Options.html @@ -1 +1 @@ -Options | type-plus - v8.0.0-beta.6
    Options: {
        $never?: undefined;
    }
    +Options | type-plus - v8.0.0-beta.6
    Options: {
        $never?: undefined;
    }
    diff --git a/types/Omit.html b/types/Omit.html index bcf0ae158..62c9badcb 100644 --- a/types/Omit.html +++ b/types/Omit.html @@ -2,4 +2,4 @@

    Type Parameters

    Titian Cernicova-Dragomir

    type-zoo

    -
    +
    diff --git a/types/OptionalKeys.html b/types/OptionalKeys.html index 19d142efa..1aa4eaa25 100644 --- a/types/OptionalKeys.html +++ b/types/OptionalKeys.html @@ -3,4 +3,4 @@

    Type Parameters

    OptionalKeys<{ a: 1 }> // never
    OptionalKeys<{ a?: 1, b: number }> // 'a'
    -
    +
    diff --git a/types/OptionalProps.html b/types/OptionalProps.html index 89d58464c..b748e6fe0 100644 --- a/types/OptionalProps.html +++ b/types/OptionalProps.html @@ -1,2 +1,2 @@ OptionalProps | type-plus - v8.0.0-beta.6

    Type Alias OptionalProps<T>

    OptionalProps<T>: T extends unknown
        ? {
            [k in OptionalKeys<T>]?: T[k]
        }
        : never

    Parse T to keep only the optional properties.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/Or.html b/types/Or.html index 823b25b76..c81178257 100644 --- a/types/Or.html +++ b/types/Or.html @@ -1 +1 @@ -Or | type-plus - v8.0.0-beta.6

    Type Alias Or<A, B, Then, Else>

    Or<A, B, Then, Else>: A extends true
        ? Then
        : B extends true
            ? Then
            : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    +Or | type-plus - v8.0.0-beta.6

    Type Alias Or<A, B, Then, Else>

    Or<A, B, Then, Else>: A extends true
        ? Then
        : B extends true
            ? Then
            : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    diff --git a/types/PadStart.html b/types/PadStart.html index f5c811a31..f36819af7 100644 --- a/types/PadStart.html +++ b/types/PadStart.html @@ -3,4 +3,4 @@

    Type Parameters

    // Padding array
    PadStart<number[], 1, string> // [string, ...number[]]

    // Ignore if the type is compatible
    PadStart<number[], 2, number> // number[]
    PadStart<number[], 3, 1> // number[]

    // Padding tuple
    PadStart<[1, 2, 3], 5, 0> // [0, 0, 1, 2, 3]

    // Ignore if MaxLength is less than the length of the tuple
    PadStart<[1, 2, 3], 5, 0> // [0, 0, 1, 2, 3]

    // Default to unknown
    PadStart<[1, 2, 3], 5> // [unknown, unknown, 1, 2, 3]
    -
    +
    diff --git a/types/Partial.html b/types/Partial.html index 617da25b5..fd3a17ad4 100644 --- a/types/Partial.html +++ b/types/Partial.html @@ -1,2 +1,2 @@ Partial | type-plus - v8.0.0-beta.6

    Type Alias Partial<T>

    Partial<T>: {
        [P in keyof T]?: T[P]
    }

    An alternative Partial<T> type that works with exactOptionalPropertyTypes

    -

    Type Parameters

    • T
    +

    Type Parameters

    diff --git a/types/PartialExcept.html b/types/PartialExcept.html index cd419e58a..f54ab84ef 100644 --- a/types/PartialExcept.html +++ b/types/PartialExcept.html @@ -1,2 +1,2 @@ PartialExcept | type-plus - v8.0.0-beta.6

    Type Alias PartialExcept<T, U>

    PartialExcept<T, U>: T extends T
        ? Pick<T, U> & Partial<Omit<T, U>>
        : never

    Type Parameters

    replaced by PartialOmit

    -
    +
    diff --git a/types/PartialOmit.html b/types/PartialOmit.html index f712a92de..8c0f6e8dd 100644 --- a/types/PartialOmit.html +++ b/types/PartialOmit.html @@ -1,2 +1,2 @@ PartialOmit | type-plus - v8.0.0-beta.6

    Type Alias PartialOmit<T, U>

    PartialOmit<T, U>: T extends T
        ? Pick<T, U> & Partial<Omit<T, U>>
        : never

    Apply Partial<> on all not selected properties.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/PartialPick.html b/types/PartialPick.html index e6a43dee2..be2b90b0e 100644 --- a/types/PartialPick.html +++ b/types/PartialPick.html @@ -1,2 +1,2 @@ PartialPick | type-plus - v8.0.0-beta.6

    Type Alias PartialPick<T, U>

    PartialPick<T, U>: T extends T
        ? Omit<T, U> & Partial<Pick<T, U>>
        : never

    Apply Partial<> on the selected properties.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/Pick-1.html b/types/Pick-1.html index d7cdf0817..8753a69c9 100644 --- a/types/Pick-1.html +++ b/types/Pick-1.html @@ -2,4 +2,4 @@ Works with union.

    Original type by Titian Cernicova-Dragomir

    Type Parameters

    +
    diff --git a/types/Pick._.html b/types/Pick._.html index 0db02512b..067ab20f4 100644 --- a/types/Pick._.html +++ b/types/Pick._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, K>

    _<T, K>: {
        [P in K]: T[P]
    }

    Type Parameters

    • T
    • K extends keyof T
    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, K>

    _<T, K>: {
        [P in K]: T[P]
    }

    Type Parameters

    • T
    • K extends keyof T
    diff --git a/types/PrimitiveTypes.html b/types/PrimitiveTypes.html index 63e699842..7294b8e1f 100644 --- a/types/PrimitiveTypes.html +++ b/types/PrimitiveTypes.html @@ -1,2 +1,2 @@ PrimitiveTypes | type-plus - v8.0.0-beta.6

    Type Alias PrimitiveTypes

    PrimitiveTypes:
        | boolean
        | number
        | string
        | object
        | symbol
        | bigint
        | Function
        | undefined
        | null

    📘 Definition of all primitive types.

    -
    +
    diff --git a/types/PromiseValue.html b/types/PromiseValue.html index 975810dc6..0968e9d16 100644 --- a/types/PromiseValue.html +++ b/types/PromiseValue.html @@ -1,3 +1,3 @@ PromiseValue | type-plus - v8.0.0-beta.6

    Type Alias PromiseValue<P>

    PromiseValue<P>: P extends Promise<infer T>
        ? T
        : never

    Gets value type from Promise

    Type Parameters

    • P extends Promise<any>

    Use Awaited<T> instead.

    -
    +
    diff --git a/types/PromiseValueMerge.html b/types/PromiseValueMerge.html index fef7df8b8..9ece0e1ab 100644 --- a/types/PromiseValueMerge.html +++ b/types/PromiseValueMerge.html @@ -1,2 +1,2 @@ PromiseValueMerge | type-plus - v8.0.0-beta.6

    Type Alias PromiseValueMerge<P1, P2, P3, P4, P5, P6, P7, P8, P9>

    PromiseValueMerge<P1, P2, P3, P4, P5, P6, P7, P8, P9>: Promise<Awaited<P1> & Awaited<P2> & Awaited<P3> & Awaited<P4> & Awaited<P5> & Awaited<P6> & Awaited<P7> & Awaited<P8> & Awaited<P9>>

    Merging value types from multiple promises.

    -

    Type Parameters

    • P1 extends Promise<any>
    • P2 extends Promise<any>
    • P3 extends Promise<any> = any
    • P4 extends Promise<any> = any
    • P5 extends Promise<any> = any
    • P6 extends Promise<any> = any
    • P7 extends Promise<any> = any
    • P8 extends Promise<any> = any
    • P9 extends Promise<any> = any
    +

    Type Parameters

    diff --git a/types/PropUnion.html b/types/PropUnion.html index 95d2c585a..088253ef1 100644 --- a/types/PropUnion.html +++ b/types/PropUnion.html @@ -1,3 +1,3 @@ PropUnion | type-plus - v8.0.0-beta.6

    Type Alias PropUnion<A, P>

    PropUnion<A, P>: UnionOfProps<A, P>

    Gets the union of properties in the element of A This will be deprecated in 4.0. Please use UnionOfProps instead.

    -

    Type Parameters

    • A extends readonly Record<any, any>[]
    • P extends KeyTypes
    +

    Type Parameters

    diff --git a/types/Properties.html b/types/Properties.html index 74a7843d5..0c6c52a08 100644 --- a/types/Properties.html +++ b/types/Properties.html @@ -1,2 +1,2 @@ Properties | type-plus - v8.0.0-beta.6

    Type Alias Properties<T>

    Properties<T>: {
        [k in keyof T]: T[k]
    }

    Gets the properties of an object type.

    -

    Type Parameters

    • T
    +

    Type Parameters

    diff --git a/types/RecordValue.html b/types/RecordValue.html index f6f9c1bc5..764b20223 100644 --- a/types/RecordValue.html +++ b/types/RecordValue.html @@ -1,2 +1,2 @@ RecordValue | type-plus - v8.0.0-beta.6

    Type Alias RecordValue<R>

    RecordValue<R>: R extends Record<any, infer T>
        ? T
        : never

    Gets the value type T from Record<any, T>.

    -

    Type Parameters

    • R extends Record<any, any>
    +

    Type Parameters

    diff --git a/types/RecursiveIntersect.html b/types/RecursiveIntersect.html index beb8577d4..59ac0d45b 100644 --- a/types/RecursiveIntersect.html +++ b/types/RecursiveIntersect.html @@ -6,4 +6,4 @@ NOTE: in latest TypeScript, undefined is not an accepted value. The resulting type would be never

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/RecursivePartial.html b/types/RecursivePartial.html index c53616f60..de567ca7a 100644 --- a/types/RecursivePartial.html +++ b/types/RecursivePartial.html @@ -2,4 +2,4 @@

    Type Parameters

    interface Foo {
    bar: number;
    baz: {
    qux: string
    }
    }

    type PartialFoo = RecursivePartial<Foo>
    // {
    // bar?: number | undefined;
    // baz?: {
    // qux?: string | undefined
    // } | undefined
    // }
    -
    +
    diff --git a/types/RecursiveRequired.html b/types/RecursiveRequired.html index f0c0a0298..e9426735a 100644 --- a/types/RecursiveRequired.html +++ b/types/RecursiveRequired.html @@ -1 +1 @@ -RecursiveRequired | type-plus - v8.0.0-beta.6

    Type Alias RecursiveRequired<T>

    RecursiveRequired<T>: {
        [P in keyof T]-?: T[P] extends (infer U)[]
            ? RecursiveRequired<U>[]
            : T[P] extends AnyRecord
                ? RecursiveRequired<T[P]>
                : T[P]
    }

    Type Parameters

    • T
    +RecursiveRequired | type-plus - v8.0.0-beta.6

    Type Alias RecursiveRequired<T>

    RecursiveRequired<T>: {
        [P in keyof T]-?: T[P] extends (infer U)[]
            ? RecursiveRequired<U>[]
            : T[P] extends AnyRecord
                ? RecursiveRequired<T[P]>
                : T[P]
    }

    Type Parameters

    • T
    diff --git a/types/ReplaceProperty.html b/types/ReplaceProperty.html index 45799bfdd..1e5c59f80 100644 --- a/types/ReplaceProperty.html +++ b/types/ReplaceProperty.html @@ -1 +1 @@ -ReplaceProperty | type-plus - v8.0.0-beta.6

    Type Alias ReplaceProperty<T, K, V>

    ReplaceProperty<T, K, V>: Omit<T, K> & {
        [P in K]: V
    }

    Type Parameters

    +ReplaceProperty | type-plus - v8.0.0-beta.6

    Type Alias ReplaceProperty<T, K, V>

    ReplaceProperty<T, K, V>: Omit<T, K> & {
        [P in K]: V
    }

    Type Parameters

    diff --git a/types/Required.html b/types/Required.html index c4564da51..3ec1f5619 100644 --- a/types/Required.html +++ b/types/Required.html @@ -1 +1 @@ -Required | type-plus - v8.0.0-beta.6

    Type Alias Required<T>

    Required<T>: {
        [P in keyof T]-?: Exclude<T[P], undefined>
    }

    Type Parameters

    • T
    +Required | type-plus - v8.0.0-beta.6

    Type Alias Required<T>

    Required<T>: {
        [P in keyof T]-?: Exclude<T[P], undefined>
    }

    Type Parameters

    • T
    diff --git a/types/RequiredExcept.html b/types/RequiredExcept.html index 619962756..700f2ffbc 100644 --- a/types/RequiredExcept.html +++ b/types/RequiredExcept.html @@ -1 +1 @@ -RequiredExcept | type-plus - v8.0.0-beta.6

    Type Alias RequiredExcept<T, U>

    RequiredExcept<T, U>: Required<Pick<T, Exclude<keyof T, U>>> & Pick<T, U>

    Type Parameters

    • T
    • U extends keyof T
    +RequiredExcept | type-plus - v8.0.0-beta.6

    Type Alias RequiredExcept<T, U>

    RequiredExcept<T, U>: Required<Pick<T, Exclude<keyof T, U>>> & Pick<T, U>

    Type Parameters

    • T
    • U extends keyof T
    diff --git a/types/RequiredKeys-1.html b/types/RequiredKeys-1.html index 58f6ff38b..d0d7438eb 100644 --- a/types/RequiredKeys-1.html +++ b/types/RequiredKeys-1.html @@ -1 +1 @@ -RequiredKeys | type-plus - v8.0.0-beta.6

    Type Alias RequiredKeys<T>

    RequiredKeys<T>: T extends unknown
        ? RequiredKeys._<T>
        : never

    Type Parameters

    +RequiredKeys | type-plus - v8.0.0-beta.6

    Type Alias RequiredKeys<T>

    RequiredKeys<T>: T extends unknown
        ? RequiredKeys._<T>
        : never

    Type Parameters

    diff --git a/types/RequiredKeys._.html b/types/RequiredKeys._.html index 5c75f372d..0f1a6facb 100644 --- a/types/RequiredKeys._.html +++ b/types/RequiredKeys._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<T>

    _<T>: Exclude<keyof T, OptionalKeys<T>>

    Type Parameters

    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<T>

    _<T>: Exclude<keyof T, OptionalKeys<T>>

    Type Parameters

    diff --git a/types/RequiredPick.html b/types/RequiredPick.html index 4cf9165d4..689317fbd 100644 --- a/types/RequiredPick.html +++ b/types/RequiredPick.html @@ -1 +1 @@ -RequiredPick | type-plus - v8.0.0-beta.6

    Type Alias RequiredPick<T, U>

    RequiredPick<T, U>: Required<Pick<T, U>> & Pick<T, Exclude<keyof T, U>>

    Type Parameters

    • T
    • U extends keyof T
    +RequiredPick | type-plus - v8.0.0-beta.6

    Type Alias RequiredPick<T, U>

    RequiredPick<T, U>: Required<Pick<T, U>> & Pick<T, Exclude<keyof T, U>>

    Type Parameters

    • T
    • U extends keyof T
    diff --git a/types/Reverse.html b/types/Reverse.html index cb61dae33..f957110ea 100644 --- a/types/Reverse.html +++ b/types/Reverse.html @@ -1,3 +1,3 @@ Reverse | type-plus - v8.0.0-beta.6

    Type Alias Reverse<A>

    Reverse<A>: number extends A["length"]
        ? A
        : A["length"] extends 0
            ? A
            : A["length"] extends 1
                ? A
                : A extends [any, ...(infer T)]
                    ? T extends any[]
                        ? [...Reverse<T>, A[0]]
                        : never
                    : never

    ⚗️ transform

    reverses the order of A.

    -

    Type Parameters

    • A extends unknown[]
    +

    Type Parameters

    diff --git a/types/Some-1.html b/types/Some-1.html index 1602925ce..721dc3397 100644 --- a/types/Some-1.html +++ b/types/Some-1.html @@ -6,4 +6,4 @@

    Type Parameters

    Some<string[], string> // true
    Some<['a', boolean], boolean> // true
    Some<['a', true], boolean> //true

    Some<['a', true], boolean, 'strict'> // false
    -
    +
    diff --git a/types/Some.Loose.html b/types/Some.Loose.html index a5a19a81b..887dbf22e 100644 --- a/types/Some.Loose.html +++ b/types/Some.Loose.html @@ -1 +1 @@ -Loose | type-plus - v8.0.0-beta.6

    Type Alias Loose<A, Criteria, Then, Else>

    Loose<A, Criteria, Then, Else>: number extends A["length"]
        ? LooseArray<A, Criteria, Then, Else>
        : LooseTuple<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +Loose | type-plus - v8.0.0-beta.6

    Type Alias Loose<A, Criteria, Then, Else>

    Loose<A, Criteria, Then, Else>: number extends A["length"]
        ? LooseArray<A, Criteria, Then, Else>
        : LooseTuple<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Some.LooseArray.html b/types/Some.LooseArray.html index f816f0bcc..d8fe2162b 100644 --- a/types/Some.LooseArray.html +++ b/types/Some.LooseArray.html @@ -1 +1 @@ -LooseArray | type-plus - v8.0.0-beta.6

    Type Alias LooseArray<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +LooseArray | type-plus - v8.0.0-beta.6

    Type Alias LooseArray<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Some.LooseTuple.html b/types/Some.LooseTuple.html index 9f797651c..d0b6ed776 100644 --- a/types/Some.LooseTuple.html +++ b/types/Some.LooseTuple.html @@ -1 +1 @@ -LooseTuple | type-plus - v8.0.0-beta.6

    Type Alias LooseTuple<A, Criteria, Then, Else>

    LooseTuple<A, Criteria, Then, Else>: A["length"] extends 0
        ? Else
        : A[0] extends Criteria
            ? Then
            : LooseTuple<Tail<A>, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +LooseTuple | type-plus - v8.0.0-beta.6

    Type Alias LooseTuple<A, Criteria, Then, Else>

    LooseTuple<A, Criteria, Then, Else>: A["length"] extends 0
        ? Else
        : A[0] extends Criteria
            ? Then
            : LooseTuple<Tail<A>, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Some.Strict.html b/types/Some.Strict.html index d7afa5208..6ccfb5310 100644 --- a/types/Some.Strict.html +++ b/types/Some.Strict.html @@ -1 +1 @@ -Strict | type-plus - v8.0.0-beta.6

    Type Alias Strict<A, Criteria, Then, Else>

    Strict<A, Criteria, Then, Else>: number extends A["length"]
        ? StrictArray<A, Criteria, Then, Else>
        : StrictTuple<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +Strict | type-plus - v8.0.0-beta.6

    Type Alias Strict<A, Criteria, Then, Else>

    Strict<A, Criteria, Then, Else>: number extends A["length"]
        ? StrictArray<A, Criteria, Then, Else>
        : StrictTuple<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Some.StrictArray.html b/types/Some.StrictArray.html index ca6d60916..bbbc621de 100644 --- a/types/Some.StrictArray.html +++ b/types/Some.StrictArray.html @@ -1 +1 @@ -StrictArray | type-plus - v8.0.0-beta.6

    Type Alias StrictArray<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +StrictArray | type-plus - v8.0.0-beta.6

    Type Alias StrictArray<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Some.StrictTuple.html b/types/Some.StrictTuple.html index f35e7e875..30bf00f6f 100644 --- a/types/Some.StrictTuple.html +++ b/types/Some.StrictTuple.html @@ -1 +1 @@ -StrictTuple | type-plus - v8.0.0-beta.6

    Type Alias StrictTuple<A, Criteria, Then, Else>

    StrictTuple<A, Criteria, Then, Else>: A["length"] extends 0
        ? Else
        : IsEqual<A[0], Criteria> extends true
            ? Then
            : StrictTuple<Tail<A>, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +StrictTuple | type-plus - v8.0.0-beta.6

    Type Alias StrictTuple<A, Criteria, Then, Else>

    StrictTuple<A, Criteria, Then, Else>: A["length"] extends 0
        ? Else
        : IsEqual<A[0], Criteria> extends true
            ? Then
            : StrictTuple<Tail<A>, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Split.html b/types/Split.html index 57583efbc..bad57534c 100644 --- a/types/Split.html +++ b/types/Split.html @@ -1 +1 @@ -Split | type-plus - v8.0.0-beta.6

    Type Alias Split<T, S>

    Split<T, S>: {
        [k in keyof S]-?: S[k] extends undefined
            ? T[k]
            : NonNullable<T[k]> | Exclude<S[k], undefined>
    }

    Type Parameters

    +Split | type-plus - v8.0.0-beta.6

    Type Alias Split<T, S>

    Split<T, S>: {
        [k in keyof S]-?: S[k] extends undefined
            ? T[k]
            : NonNullable<T[k]> | Exclude<S[k], undefined>
    }

    Type Parameters

    diff --git a/types/SpreadRecord.html b/types/SpreadRecord.html index 9a061620a..4fc480ab0 100644 --- a/types/SpreadRecord.html +++ b/types/SpreadRecord.html @@ -1 +1 @@ -SpreadRecord | type-plus - v8.0.0-beta.6

    Type Alias SpreadRecord<A, B>

    SpreadRecord<A, B>: Omit<A, Extract<keyof A, keyof B>> & B

    Type Parameters

    • A extends Record<any, any>
    • B extends Record<any, any>
    +SpreadRecord | type-plus - v8.0.0-beta.6

    Type Alias SpreadRecord<A, B>

    SpreadRecord<A, B>: Omit<A, Extract<keyof A, keyof B>> & B

    Type Parameters

    • A extends Record<any, any>
    • B extends Record<any, any>
    diff --git a/types/StrictCanAssign.html b/types/StrictCanAssign.html index b93bf278c..e46d86608 100644 --- a/types/StrictCanAssign.html +++ b/types/StrictCanAssign.html @@ -4,4 +4,4 @@
    StrictCanAssign<number | string, number> // false
    StrictCanAssign<number | string, number | string> // true
    -
    +
    diff --git a/types/StringIncludes.html b/types/StringIncludes.html index c8ee4210f..ec0f3b64e 100644 --- a/types/StringIncludes.html +++ b/types/StringIncludes.html @@ -3,4 +3,4 @@
    type R = StringIncludes<'abc', 'a'> // true

    type R = StringIncludes<'abc', 'd'> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringPlus.Includes.html b/types/StringPlus.Includes.html index f6016dd80..7cb770649 100644 --- a/types/StringPlus.Includes.html +++ b/types/StringPlus.Includes.html @@ -3,4 +3,4 @@
    type R = StringPlus.Includes<'abc', 'a'> // true

    type R = StringPlus.Includes<'abc', 'd'> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringPlus.Split.html b/types/StringPlus.Split.html index e9af6cb1a..66430183e 100644 --- a/types/StringPlus.Split.html +++ b/types/StringPlus.Split.html @@ -3,4 +3,4 @@
    type R = StringPlus.Split<'abc', ''> // ['a', 'b', 'c']
    type R = StringPlus.Split<'abc', 'a'> // ['', 'bc']
    type R = StringPlus.Split<'abc', 'b'> // ['a', 'c']
    type R = StringPlus.Split<'abc', 'c'> // ['ab', '']
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringSplit.html b/types/StringSplit.html index 1ee859034..d1fdb20f0 100644 --- a/types/StringSplit.html +++ b/types/StringSplit.html @@ -3,4 +3,4 @@
    type R = StringSplit<'abc', ''> // ['a', 'b', 'c']
    type R = StringSplit<'abc', 'a'> // ['', 'bc']
    type R = StringSplit<'abc', 'b'> // ['a', 'c']
    type R = StringSplit<'abc', 'c'> // ['ab', '']
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringToBigint.html b/types/StringToBigint.html index 4f5dfc985..93737b171 100644 --- a/types/StringToBigint.html +++ b/types/StringToBigint.html @@ -2,4 +2,4 @@
    StringToBigint<'1n'> // 1n
    StringToBigint<'-1n'> // -1n
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringToNumber.html b/types/StringToNumber.html index 3eda967f0..9c88f81f2 100644 --- a/types/StringToNumber.html +++ b/types/StringToNumber.html @@ -2,4 +2,4 @@
    StringToNumber<'1'> // 1
    StringToNumber<'-1'> // -1
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringToNumeric.html b/types/StringToNumeric.html index fbaa12b9d..016be7baf 100644 --- a/types/StringToNumeric.html +++ b/types/StringToNumeric.html @@ -2,4 +2,4 @@
    StringToNumeric<'1'> // 1
    StringToNumeric<'1n'> // 1n
    StringToNumeric<'-1'> // -1
    StringToNumeric<'-1n'> // -1n
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/SubUnion.html b/types/SubUnion.html index 83504f665..f12c5a870 100644 --- a/types/SubUnion.html +++ b/types/SubUnion.html @@ -1,3 +1,3 @@ SubUnion | type-plus - v8.0.0-beta.6

    Type Alias SubUnion<U, T>

    SubUnion<U, T>: T

    🧰 type util Define a union type that is a subset of union type.

    -

    Type Parameters

    • U
    • T extends U
    +

    Type Parameters

    diff --git a/types/Subtract.html b/types/Subtract.html index 3f49a9c79..f3107c770 100644 --- a/types/Subtract.html +++ b/types/Subtract.html @@ -1 +1 @@ -Subtract | type-plus - v8.0.0-beta.6

    Type Alias Subtract<A, B, Fail>

    Subtract<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Subtract<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    +Subtract | type-plus - v8.0.0-beta.6

    Type Alias Subtract<A, B, Fail>

    Subtract<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Subtract<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    diff --git a/types/SystemErrorCodes.html b/types/SystemErrorCodes.html index 09b41aeb5..efea72abe 100644 --- a/types/SystemErrorCodes.html +++ b/types/SystemErrorCodes.html @@ -1 +1 @@ -SystemErrorCodes | type-plus - v8.0.0-beta.6

    Type Alias SystemErrorCodes

    SystemErrorCodes: keyof SystemErrors
    +SystemErrorCodes | type-plus - v8.0.0-beta.6

    Type Alias SystemErrorCodes

    SystemErrorCodes: keyof SystemErrors
    diff --git a/types/SystemErrors.html b/types/SystemErrors.html index 06d377809..2b3c8d5da 100644 --- a/types/SystemErrors.html +++ b/types/SystemErrors.html @@ -1 +1 @@ -SystemErrors | type-plus - v8.0.0-beta.6

    Type Alias SystemErrors

    SystemErrors: {
        EACCES: Error & {
            code: "EACCES";
        };
        EADDRINUSE: Error & {
            code: "EADDRINUSE";
        };
        ECONNREFUSED: Error;
        ECONNRESET: Error;
        EEXIST: Error;
        EISDIR: Error;
        EMFILE: Error;
        ENOENT: Error & {
            code: "ENOENT";
            path: string;
        };
        ENOTDIR: Error;
        ENOTEMPTY: Error;
        ENOTFOUND: Error;
        EPERM: Error;
        EPIPE: Error;
        ETIMEDOUT: Error;
    }
    +SystemErrors | type-plus - v8.0.0-beta.6

    Type Alias SystemErrors

    SystemErrors: {
        EACCES: Error & {
            code: "EACCES";
        };
        EADDRINUSE: Error & {
            code: "EADDRINUSE";
        };
        ECONNREFUSED: Error;
        ECONNRESET: Error;
        EEXIST: Error;
        EISDIR: Error;
        EMFILE: Error;
        ENOENT: Error & {
            code: "ENOENT";
            path: string;
        };
        ENOTDIR: Error;
        ENOTEMPTY: Error;
        ENOTFOUND: Error;
        EPERM: Error;
        EPIPE: Error;
        ETIMEDOUT: Error;
    }
    diff --git a/types/Tail.html b/types/Tail.html index bbd2d2ccb..6ffe9758d 100644 --- a/types/Tail.html +++ b/types/Tail.html @@ -1,2 +1,2 @@ Tail | type-plus - v8.0.0-beta.6

    Type Alias Tail<T>

    Tail<T>: T["length"] extends 0
        ? never
        : T extends readonly [any, ...(infer Tail)]
            ? Tail extends UnionOfValues<T>[]
                ? Tail
                : never
            : T

    Gets the types of a tuple except the first entry.

    -

    Type Parameters

    • T extends readonly unknown[]
    +

    Type Parameters

    diff --git a/types/ToTuple.html b/types/ToTuple.html index 9fa8e66e2..2d0f5472a 100644 --- a/types/ToTuple.html +++ b/types/ToTuple.html @@ -1 +1 @@ -ToTuple | type-plus - v8.0.0-beta.6

    Type Alias ToTuple<R, S, X>

    ToTuple<R, S, X>: S["length"] extends 0
        ? R
        : S["length"] extends 1
            ? [...R, ...DigitToTuple<X>[S[0]]]
            : S extends [any, ...(infer T)]
                ? T extends any[]
                    ? ToTuple<Multi10<[...R, ...DigitToTuple<X>[S[0]]]>, T>
                    : never
                : never

    Type Parameters

    • R extends any[]
    • S extends number[]
    • X = any
    +ToTuple | type-plus - v8.0.0-beta.6

    Type Alias ToTuple<R, S, X>

    ToTuple<R, S, X>: S["length"] extends 0
        ? R
        : S["length"] extends 1
            ? [...R, ...DigitToTuple<X>[S[0]]]
            : S extends [any, ...(infer T)]
                ? T extends any[]
                    ? ToTuple<Multi10<[...R, ...DigitToTuple<X>[S[0]]]>, T>
                    : never
                : never

    Type Parameters

    • R extends any[]
    • S extends number[]
    • X = any
    diff --git a/types/TuplePlus.CommonPropKeys-1.html b/types/TuplePlus.CommonPropKeys-1.html index b9b0c2675..d7df8b75e 100644 --- a/types/TuplePlus.CommonPropKeys-1.html +++ b/types/TuplePlus.CommonPropKeys-1.html @@ -6,4 +6,4 @@

    Return type when T is never. Default to never.

    -
    +
    diff --git a/types/TuplePlus.DropMatch-1.html b/types/TuplePlus.DropMatch-1.html index 60f9bb92d..2ec1cb643 100644 --- a/types/TuplePlus.DropMatch-1.html +++ b/types/TuplePlus.DropMatch-1.html @@ -1 +1 @@ -DropMatch | type-plus - v8.0.0-beta.6

    Type Alias DropMatch<A, Criteria>

    DropMatch<A, Criteria>: A["length"] extends 0
        ? A
        : A extends readonly [infer Head, ...(infer Tail)]
            ? Tail["length"] extends 0
                ? undefined extends Criteria
                    ? ExcludeUnionOfEmptyTuple<Head extends Criteria
                        ? []
                        : [Head]>
                    : ExcludeUnionOfEmptyTuple<Head extends Criteria
                        ? []
                        : [Head]>
                : Exclude<Head, Criteria> extends never
                    ? TuplePlus.DropMatch<Tail, Criteria>
                    : [Exclude<Head, Criteria>, ...TuplePlus.DropMatch<Tail, Criteria>]
            : never[]

    Type Parameters

    • A extends Readonly<unknown[]>
    • Criteria
    +DropMatch | type-plus - v8.0.0-beta.6

    Type Alias DropMatch<A, Criteria>

    DropMatch<A, Criteria>: A["length"] extends 0
        ? A
        : A extends readonly [infer Head, ...(infer Tail)]
            ? Tail["length"] extends 0
                ? undefined extends Criteria
                    ? ExcludeUnionOfEmptyTuple<Head extends Criteria
                        ? []
                        : [Head]>
                    : ExcludeUnionOfEmptyTuple<Head extends Criteria
                        ? []
                        : [Head]>
                : Exclude<Head, Criteria> extends never
                    ? TuplePlus.DropMatch<Tail, Criteria>
                    : [Exclude<Head, Criteria>, ...TuplePlus.DropMatch<Tail, Criteria>]
            : never[]

    Type Parameters

    • A extends Readonly<unknown[]>
    • Criteria
    diff --git a/types/TuplePlus.DropMatch.ExcludeUnionOfEmptyTuple.html b/types/TuplePlus.DropMatch.ExcludeUnionOfEmptyTuple.html index 11f1f2aaf..cadbfbf06 100644 --- a/types/TuplePlus.DropMatch.ExcludeUnionOfEmptyTuple.html +++ b/types/TuplePlus.DropMatch.ExcludeUnionOfEmptyTuple.html @@ -1 +1 @@ -ExcludeUnionOfEmptyTuple | type-plus - v8.0.0-beta.6

    Type Alias ExcludeUnionOfEmptyTuple<A>

    ExcludeUnionOfEmptyTuple<A>: IsEqual<A, []> extends true
        ? A
        : Exclude<A, []>

    Type Parameters

    • A
    +ExcludeUnionOfEmptyTuple | type-plus - v8.0.0-beta.6

    Type Alias ExcludeUnionOfEmptyTuple<A>

    ExcludeUnionOfEmptyTuple<A>: IsEqual<A, []> extends true
        ? A
        : Exclude<A, []>

    Type Parameters

    • A
    diff --git a/types/TuplePlus.Filter.html b/types/TuplePlus.Filter.html index e0d9940e0..b6aace2f5 100644 --- a/types/TuplePlus.Filter.html +++ b/types/TuplePlus.Filter.html @@ -3,4 +3,4 @@

    Type Parameters

    type R = Filter<[1, 2, '3'], number> // [1, 2]
    type R = Filter<[1, 2, '3'], true> // []
    -
    +
    diff --git a/types/TuplePlus.Find-1.html b/types/TuplePlus.Find-1.html index c275978a5..f4129a3c9 100644 --- a/types/TuplePlus.Find-1.html +++ b/types/TuplePlus.Find-1.html @@ -23,4 +23,4 @@

    If you want the type to behave more like JavaScript, you can override it to return undefined.

    Since it is a union, the result will be joined to the matched branch as union.

    -
    +
    diff --git a/types/TuplePlus.Find.Device.html b/types/TuplePlus.Find.Device.html index b7c32b892..df48c3840 100644 --- a/types/TuplePlus.Find.Device.html +++ b/types/TuplePlus.Find.Device.html @@ -1 +1 @@ -Device | type-plus - v8.0.0-beta.6

    Type Alias Device<A, Criteria, Options>

    Device<A, Criteria, Options>: A["length"] extends 0
        ? Options["$notMatch"]
        : A extends readonly [infer Head, ...(infer Tail)]
            ? ElementMatch<Head, Criteria, TypePlusOptions.Merge<{
                $notMatch: TuplePlus.Find.Device<Tail, Criteria, Options>;
            }, Options>>
            : never

    Type Parameters

    +Device | type-plus - v8.0.0-beta.6

    Type Alias Device<A, Criteria, Options>

    Device<A, Criteria, Options>: A["length"] extends 0
        ? Options["$notMatch"]
        : A extends readonly [infer Head, ...(infer Tail)]
            ? ElementMatch<Head, Criteria, TypePlusOptions.Merge<{
                $notMatch: TuplePlus.Find.Device<Tail, Criteria, Options>;
            }, Options>>
            : never

    Type Parameters

    diff --git a/types/TuplePlus.PadStart-1.html b/types/TuplePlus.PadStart-1.html index 6e99d8b16..fbaeee39a 100644 --- a/types/TuplePlus.PadStart-1.html +++ b/types/TuplePlus.PadStart-1.html @@ -5,4 +5,4 @@

    Type Parameters

    PadStart<[1, 2, 3], 5, 0> // [0, 0, 1, 2, 3]

    // Ignore if MaxLength is less than the length of the tuple
    PadStart<[1, 2, 3], 2> // [1, 2, 3]

    // Default to unknown
    PadStart<[1, 2, 3], 5> // [unknown, unknown, 1, 2, 3]
    -
    +
    diff --git a/types/TuplePlus.PadStart.Device.html b/types/TuplePlus.PadStart.Device.html index 46dba17e6..dea7c2e18 100644 --- a/types/TuplePlus.PadStart.Device.html +++ b/types/TuplePlus.PadStart.Device.html @@ -1 +1 @@ -Device | type-plus - v8.0.0-beta.6

    Type Alias Device<Source, MaxLength, PadWith, Result>

    Device<Source, MaxLength, PadWith, Result>: Result["length"] extends MaxLength
        ? Source extends []
            ? Result
            : Source extends readonly [...(infer Head), infer Tail]
                ? [Tail, ...Result] extends infer R extends unknown[]
                    ? TuplePlus.PadStart.Device<Head, R["length"], PadWith, R>
                    : never
                : never
        : Source extends []
            ? TuplePlus.PadStart.Device<Source, MaxLength, PadWith, [PadWith, ...Result]>
            : Source extends readonly [...(infer Head), infer Tail]
                ? TuplePlus.PadStart.Device<Head, MaxLength, PadWith, [Tail, ...Result]>
                : Source

    Type Parameters

    • Source extends readonly unknown[]
    • MaxLength extends number
    • PadWith
    • Result extends unknown[]
    +Device | type-plus - v8.0.0-beta.6

    Type Alias Device<Source, MaxLength, PadWith, Result>

    Device<Source, MaxLength, PadWith, Result>: Result["length"] extends MaxLength
        ? Source extends []
            ? Result
            : Source extends readonly [...(infer Head), infer Tail]
                ? [Tail, ...Result] extends infer R extends unknown[]
                    ? TuplePlus.PadStart.Device<Head, R["length"], PadWith, R>
                    : never
                : never
        : Source extends []
            ? TuplePlus.PadStart.Device<Source, MaxLength, PadWith, [PadWith, ...Result]>
            : Source extends readonly [...(infer Head), infer Tail]
                ? TuplePlus.PadStart.Device<Head, MaxLength, PadWith, [Tail, ...Result]>
                : Source

    Type Parameters

    • Source extends readonly unknown[]
    • MaxLength extends number
    • PadWith
    • Result extends unknown[]
    diff --git a/types/TypePlusOptions.Merge.html b/types/TypePlusOptions.Merge.html index 9461950e2..a575425ea 100644 --- a/types/TypePlusOptions.Merge.html +++ b/types/TypePlusOptions.Merge.html @@ -1,4 +1,4 @@ Merge | type-plus - v8.0.0-beta.6

    Type Alias Merge<I, D>

    Merge<I, D>: {
        [k in keyof D]: k extends keyof I
            ? I[k]
            : D[k]
    }

    🦴 utilities ㊙️ internal

    Merge the input Options I with the default Options D.

    -

    Type Parameters

    • I
    • D
    +

    Type Parameters

    diff --git a/types/UnionKeys.html b/types/UnionKeys.html index 5bf30de47..fcbe5d7cc 100644 --- a/types/UnionKeys.html +++ b/types/UnionKeys.html @@ -1,3 +1,3 @@ UnionKeys | type-plus - v8.0.0-beta.6

    Type Alias UnionKeys<T>

    UnionKeys<T>: keyof T | (T extends unknown
        ? keyof T
        : never)

    UnionKeys<T> will distribute keys of an union to individual types. This should be used in conjuncture with distributive types.

    -

    Type Parameters

    • T
    +

    Type Parameters

    diff --git a/types/UnionOfProps.html b/types/UnionOfProps.html index 39e29bf53..a90088daf 100644 --- a/types/UnionOfProps.html +++ b/types/UnionOfProps.html @@ -1,2 +1,2 @@ UnionOfProps | type-plus - v8.0.0-beta.6

    Type Alias UnionOfProps<A, P>

    UnionOfProps<A, P>: A["length"] extends 0
        ? never
        : A["length"] extends 1
            ? A[0][P]
            : A[0][P] | UnionOfProps<Tail<A>, P>

    Gets the union of properties of the elements in A

    -

    Type Parameters

    • A extends readonly Record<any, any>[]
    • P extends KeyTypes
    +

    Type Parameters

    diff --git a/types/UnionOfValues.html b/types/UnionOfValues.html index 455469ac0..3a8fc7d1b 100644 --- a/types/UnionOfValues.html +++ b/types/UnionOfValues.html @@ -1,2 +1,2 @@ UnionOfValues | type-plus - v8.0.0-beta.6

    Type Alias UnionOfValues<A>

    UnionOfValues<A>: A extends Readonly<(infer E)[]>
        ? E
        : never

    Gets the union of value types in A

    -

    Type Parameters

    • A extends readonly unknown[]
    +

    Type Parameters

    diff --git a/types/UnionType-1.html b/types/UnionType-1.html index 6129d8525..6b06e16bf 100644 --- a/types/UnionType-1.html +++ b/types/UnionType-1.html @@ -3,4 +3,4 @@

    Type Parameters

    type R = IsUnion<'a' | 'b'> // 'a' | 'b'
    type R = IsUnion<boolean> // boolean
    type R = IsUnion<number> // never
    -
    +
    diff --git a/types/UnionType.Device.html b/types/UnionType.Device.html index 36f33539e..cfc6327f7 100644 --- a/types/UnionType.Device.html +++ b/types/UnionType.Device.html @@ -1 +1 @@ -Device | type-plus - v8.0.0-beta.6

    Type Alias Device<T, Then, Else, U>

    Device<T, Then, Else, U>: (T extends unknown
            ? U extends T
                ? 1
                : 2
            : never) extends 1
        ? Else
        : Then

    Type Parameters

    • T
    • Then
    • Else
    • U = T
    +Device | type-plus - v8.0.0-beta.6

    Type Alias Device<T, Then, Else, U>

    Device<T, Then, Else, U>: (T extends unknown
            ? U extends T
                ? 1
                : 2
            : never) extends 1
        ? Else
        : Then

    Type Parameters

    • T
    • Then
    • Else
    • U = T
    diff --git a/types/ValueOf.html b/types/ValueOf.html index 2e4caeeec..edf0ae06a 100644 --- a/types/ValueOf.html +++ b/types/ValueOf.html @@ -1 +1 @@ -ValueOf | type-plus - v8.0.0-beta.6

    Type Alias ValueOf<T>

    ValueOf<T>: T[keyof T]

    Type Parameters

    • T
    +ValueOf | type-plus - v8.0.0-beta.6

    Type Alias ValueOf<T>

    ValueOf<T>: T[keyof T]

    Type Parameters

    • T
    diff --git a/types/Widen.html b/types/Widen.html index c674952c0..712220011 100644 --- a/types/Widen.html +++ b/types/Widen.html @@ -1,3 +1,3 @@ Widen | type-plus - v8.0.0-beta.6

    Type Alias Widen<T>

    Widen<T>: T extends boolean
        ? boolean
        : T extends number
            ? number
            : T extends string
                ? string
                : T

    Widen scalar types from literals to their parent types. Borrow from typical

    -

    Type Parameters

    • T
    +

    Type Parameters

    diff --git a/types/Xor.html b/types/Xor.html index 3a03f32d2..38f6e576c 100644 --- a/types/Xor.html +++ b/types/Xor.html @@ -1 +1 @@ -Xor | type-plus - v8.0.0-beta.6

    Type Alias Xor<A, B, Then, Else>

    Xor<A, B, Then, Else>: A extends Then
        ? Not<B>
        : B extends true
            ? Then
            : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    +Xor | type-plus - v8.0.0-beta.6

    Type Alias Xor<A, B, Then, Else>

    Xor<A, B, Then, Else>: A extends Then
        ? Not<B>
        : B extends true
            ? Then
            : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    diff --git a/types/_Any-1.html b/types/_Any-1.html index fe6f1d078..95d79e4ba 100644 --- a/types/_Any-1.html +++ b/types/_Any-1.html @@ -1 +1 @@ -$Any | type-plus - v8.0.0-beta.6
    +$Any | type-plus - v8.0.0-beta.6
    diff --git a/types/_Any._Branch.html b/types/_Any._Branch.html index 0a872aeba..3d0672a4f 100644 --- a/types/_Any._Branch.html +++ b/types/_Any._Branch.html @@ -4,4 +4,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Any.$Options
    export type $Branch = $Any.$Branch
    }

    type R = YourType<T, YourType.$Branch> extends $Any ? HandleAny : HandleOthers
    -
    +
    diff --git a/types/_Any._Options.html b/types/_Any._Options.html index 5fed9dd69..694c4514f 100644 --- a/types/_Any._Options.html +++ b/types/_Any._Options.html @@ -3,4 +3,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $AnyOptions
    }
    -
    +
    diff --git a/types/_Branch.html b/types/_Branch.html index 3a0e1700b..efbd4eb42 100644 --- a/types/_Branch.html +++ b/types/_Branch.html @@ -4,4 +4,4 @@
    type $Then = $Branch<'$then'>
    type $Any = $Branch<'$any'
    -
    +
    diff --git a/types/_BranchOptions.html b/types/_BranchOptions.html index ef6cdd5af..079f358e1 100644 --- a/types/_BranchOptions.html +++ b/types/_BranchOptions.html @@ -3,4 +3,4 @@
    type $YourOptions = $BranchOptions<$Then | $Else> // { $then: $Then, $else: $Else }
     
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_DistributiveDefault.html b/types/_DistributiveDefault.html index b4d22b66c..f41b52d08 100644 --- a/types/_DistributiveDefault.html +++ b/types/_DistributiveDefault.html @@ -1,4 +1,4 @@ $DistributiveDefault | type-plus - v8.0.0-beta.6

    Type Alias $DistributiveDefault

    $DistributiveDefault: {
        distributive: true;
    }

    🧰 type util

    Default options for distributive behavior.

    By default it is true.

    -
    +
    diff --git a/types/_DistributiveOptions.html b/types/_DistributiveOptions.html index 29005656d..80735ee0f 100644 --- a/types/_DistributiveOptions.html +++ b/types/_DistributiveOptions.html @@ -1,3 +1,3 @@ $DistributiveOptions | type-plus - v8.0.0-beta.6

    Type Alias $DistributiveOptions

    $DistributiveOptions: {
        distributive?: boolean;
    }

    🧰 type util

    Options for to control if the type is distributive.

    -
    +
    diff --git a/types/_Else-1.html b/types/_Else-1.html index 06b4c8d7c..b0219790c 100644 --- a/types/_Else-1.html +++ b/types/_Else-1.html @@ -1 +1 @@ -$Else | type-plus - v8.0.0-beta.6
    +$Else | type-plus - v8.0.0-beta.6
    diff --git a/types/_Else._Branch.html b/types/_Else._Branch.html index b76742145..b1c8819ee 100644 --- a/types/_Else._Branch.html +++ b/types/_Else._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch

    $Branch: {
        $else: $Else;
    }
    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch

    $Branch: {
        $else: $Else;
    }
    diff --git a/types/_Equality._Branch.html b/types/_Equality._Branch.html index c9f58de20..33195967b 100644 --- a/types/_Equality._Branch.html +++ b/types/_Equality._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    Type Parameters

    diff --git a/types/_Equality._Options.html b/types/_Equality._Options.html index e05be9cb7..622fd88d0 100644 --- a/types/_Equality._Options.html +++ b/types/_Equality._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/_Error.html b/types/_Error.html index 73cf3425b..6cbce144f 100644 --- a/types/_Error.html +++ b/types/_Error.html @@ -1,3 +1,3 @@ $Error | type-plus - v8.0.0-beta.6

    Type Alias $Error<M, T>

    $Error<M, T>: M extends any
        ? $Type<"error", M, T>
        : never

    🧰 type util

    A basic type-level error.

    -

    Type Parameters

    • M extends string
    • T = unknown
    +

    Type Parameters

    diff --git a/types/_ExtractManipulatedString-1.html b/types/_ExtractManipulatedString-1.html index 859d1ba25..b32aadefb 100644 --- a/types/_ExtractManipulatedString-1.html +++ b/types/_ExtractManipulatedString-1.html @@ -6,4 +6,4 @@
  • Capitalize
  • Uncapitalize
  • -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_ExtractManipulatedString._CapOrElse.html b/types/_ExtractManipulatedString._CapOrElse.html index 16cf32878..a019f2264 100644 --- a/types/_ExtractManipulatedString._CapOrElse.html +++ b/types/_ExtractManipulatedString._CapOrElse.html @@ -1 +1 @@ -_CapOrElse | type-plus - v8.0.0-beta.6

    Type Alias _CapOrElse<N, Else>

    _CapOrElse<N, Else>: N extends Capitalize<infer Y>
        ? string extends Y
            ? Capitalize<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    +_CapOrElse | type-plus - v8.0.0-beta.6

    Type Alias _CapOrElse<N, Else>

    _CapOrElse<N, Else>: N extends Capitalize<infer Y>
        ? string extends Y
            ? Capitalize<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    diff --git a/types/_ExtractManipulatedString._LowerOrElse.html b/types/_ExtractManipulatedString._LowerOrElse.html index 99b111176..018d41009 100644 --- a/types/_ExtractManipulatedString._LowerOrElse.html +++ b/types/_ExtractManipulatedString._LowerOrElse.html @@ -1 +1 @@ -_LowerOrElse | type-plus - v8.0.0-beta.6

    Type Alias _LowerOrElse<N, Else>

    _LowerOrElse<N, Else>: N extends Lowercase<infer Y>
        ? string extends Y
            ? Lowercase<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    +_LowerOrElse | type-plus - v8.0.0-beta.6

    Type Alias _LowerOrElse<N, Else>

    _LowerOrElse<N, Else>: N extends Lowercase<infer Y>
        ? string extends Y
            ? Lowercase<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    diff --git a/types/_ExtractManipulatedString._UncapOrElse.html b/types/_ExtractManipulatedString._UncapOrElse.html index d9795570c..d542412cf 100644 --- a/types/_ExtractManipulatedString._UncapOrElse.html +++ b/types/_ExtractManipulatedString._UncapOrElse.html @@ -1 +1 @@ -_UncapOrElse | type-plus - v8.0.0-beta.6

    Type Alias _UncapOrElse<N, Else>

    _UncapOrElse<N, Else>: N extends Uncapitalize<infer Y>
        ? string extends Y
            ? Uncapitalize<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    +_UncapOrElse | type-plus - v8.0.0-beta.6

    Type Alias _UncapOrElse<N, Else>

    _UncapOrElse<N, Else>: N extends Uncapitalize<infer Y>
        ? string extends Y
            ? Uncapitalize<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    diff --git a/types/_ExtractManipulatedString._UpperOrElse.html b/types/_ExtractManipulatedString._UpperOrElse.html index 48bdaf1e4..1487d2ded 100644 --- a/types/_ExtractManipulatedString._UpperOrElse.html +++ b/types/_ExtractManipulatedString._UpperOrElse.html @@ -1 +1 @@ -_UpperOrElse | type-plus - v8.0.0-beta.6

    Type Alias _UpperOrElse<N, Else>

    _UpperOrElse<N, Else>: N extends Uppercase<infer Y>
        ? string extends Y
            ? Uppercase<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    +_UpperOrElse | type-plus - v8.0.0-beta.6

    Type Alias _UpperOrElse<N, Else>

    _UpperOrElse<N, Else>: N extends Uppercase<infer Y>
        ? string extends Y
            ? Uppercase<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    diff --git a/types/_FlipSelection.html b/types/_FlipSelection.html index 35b1967b6..1ee62fe07 100644 --- a/types/_FlipSelection.html +++ b/types/_FlipSelection.html @@ -3,4 +3,4 @@

    Type Parameters

    type IsBoolean<T, $Options = $SelectionOptions> = ...

    type IsNotBoolean<T, $Options = $SelectionOptions> = IsBoolean<T, $FlipSelection<$Options>>
    -
    +
    diff --git a/types/_InferError.html b/types/_InferError.html index eba5e135a..8b7752e7a 100644 --- a/types/_InferError.html +++ b/types/_InferError.html @@ -7,4 +7,4 @@
    type F<T> = T extends infer U extends V
    ? ...your type logic...
    : InferError<'some message', T>
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_InputOptions.html b/types/_InputOptions.html index b23559e82..b46c2688d 100644 --- a/types/_InputOptions.html +++ b/types/_InputOptions.html @@ -1,3 +1,3 @@ $InputOptions | type-plus - v8.0.0-beta.6

    Type Alias $InputOptions<$B>

    $InputOptions<$B>: {
        [k in $B["value"]]?: unknown
    }

    🧰 type util

    Define branch input options.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_InvertSelection.html b/types/_InvertSelection.html index 2794b5ca3..a4baa5af5 100644 --- a/types/_InvertSelection.html +++ b/types/_InvertSelection.html @@ -5,4 +5,4 @@
  • $Then -> $Else
  • $Else -> $Then
  • -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_IsDistributive.html b/types/_IsDistributive.html index e81cd7d95..db0285651 100644 --- a/types/_IsDistributive.html +++ b/types/_IsDistributive.html @@ -1 +1 @@ -$IsDistributive | type-plus - v8.0.0-beta.6

    Type Alias $IsDistributive<$Options, $O>

    $IsDistributive<$Options, $O>: $ResolveOptions<[$Options["distributive"], $DistributiveDefault["distributive"]]> extends true
        ? "$then" extends keyof $O
            ? $O["$then"]
            : true
        : "$else" extends keyof $O
            ? $O["$else"]
            : false

    Type Parameters

    +$IsDistributive | type-plus - v8.0.0-beta.6

    Type Alias $IsDistributive<$Options, $O>

    $IsDistributive<$Options, $O>: $ResolveOptions<[$Options["distributive"], $DistributiveDefault["distributive"]]> extends true
        ? "$then" extends keyof $O
            ? $O["$then"]
            : true
        : "$else" extends keyof $O
            ? $O["$else"]
            : false

    Type Parameters

    diff --git a/types/_MergeOptions.html b/types/_MergeOptions.html index ac9fd0855..b3547df36 100644 --- a/types/_MergeOptions.html +++ b/types/_MergeOptions.html @@ -1,3 +1,3 @@ $MergeOptions | type-plus - v8.0.0-beta.6

    Type Alias $MergeOptions<$O, $V>

    $MergeOptions<$O, $V>: {
        [k in Exclude<keyof $O, keyof $V>]: $O[k]
    } & $V

    🧰 type util

    Merge type options.

    -

    Type Parameters

    • $O extends Record<string, any>
    • $V extends {
          [k in keyof $O]?: unknown
      }
    +

    Type Parameters

    diff --git a/types/_Never-1.html b/types/_Never-1.html index a34768cdd..329e0b5a8 100644 --- a/types/_Never-1.html +++ b/types/_Never-1.html @@ -1,3 +1,3 @@ $Never | type-plus - v8.0.0-beta.6

    Type Alias $Never

    $Never: $Branch<"$never">

    🧰 type util

    A special branch type to indicate the type is never.

    -
    +
    diff --git a/types/_Never._Branch.html b/types/_Never._Branch.html index e2137e137..a1079c242 100644 --- a/types/_Never._Branch.html +++ b/types/_Never._Branch.html @@ -6,4 +6,4 @@
    type YourType<T, $O extends $NeverOptions> = NeverType<T> extends infer R
    ? R extends $Never
    ? $ResolveOptions<[$O['$never'], never]>
    : HandleOtherBranches<R> // R is narrowed
    : never

    type R = YourType<T, $Never.$Branch> extends $Never ? HandleNever : HandleOthers
    -
    +
    diff --git a/types/_Never._Default.html b/types/_Never._Default.html index 2e4ed8540..14b15c104 100644 --- a/types/_Never._Default.html +++ b/types/_Never._Default.html @@ -1,4 +1,4 @@ $Default | type-plus - v8.0.0-beta.6

    Type Alias $Default

    $Default: {
        $never: never;
    }

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    +
    diff --git a/types/_Never._Options.html b/types/_Never._Options.html index 420c7c8eb..cdfbf6616 100644 --- a/types/_Never._Options.html +++ b/types/_Never._Options.html @@ -4,4 +4,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    +
    diff --git a/types/_NotNever.html b/types/_NotNever.html index 5360c73df..ed94ebdd6 100644 --- a/types/_NotNever.html +++ b/types/_NotNever.html @@ -1,4 +1,4 @@ $NotNever | type-plus - v8.0.0-beta.6

    Type Alias $NotNever

    $NotNever: $Branch<"$not_never">

    🧰 type util

    $NotNever is a special branch type to indicate the type is not never.

    It is used in NeverType.

    -
    +
    diff --git a/types/_ResolveBranch-1.html b/types/_ResolveBranch-1.html index 456e5a557..157412b6e 100644 --- a/types/_ResolveBranch-1.html +++ b/types/_ResolveBranch-1.html @@ -9,4 +9,4 @@

    $B Tuple of branches with at least one entry.

    $D When specified, resolve the branch in override mode. If no branch in $B is resolved to $Override<X>, $D will be returned.

    -
    +
    diff --git a/types/_ResolveBranch._.html b/types/_ResolveBranch._.html index 214ec253f..447eff279 100644 --- a/types/_ResolveBranch._.html +++ b/types/_ResolveBranch._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, $O, $B>

    _<T, $O, $B>: $B extends $Branch<any>
        ? $B["value"] extends keyof $O
            ? $Override.$Unwrap<$O[$B["value"]]>
            : T
        : T

    Type Parameters

    • T
    • $O extends Record<string, any>
    • $B
    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, $O, $B>

    _<T, $O, $B>: $B extends $Branch<any>
        ? $B["value"] extends keyof $O
            ? $Override.$Unwrap<$O[$B["value"]]>
            : T
        : T

    Type Parameters

    • T
    • $O extends Record<string, any>
    • $B
    diff --git a/types/_ResolveBranch._Last.html b/types/_ResolveBranch._Last.html index 41ae2566e..244d7cb83 100644 --- a/types/_ResolveBranch._Last.html +++ b/types/_ResolveBranch._Last.html @@ -1 +1 @@ -_Last | type-plus - v8.0.0-beta.6

    Type Alias _Last<T, $O, $B>

    _Last<T, $O, $B>: $B extends $Then
        ? "$then" extends keyof $O
            ? $Override.$Unwrap<$O["$then"]>
            : $O["selection"] extends "filter"
                ? T
                : true
        : $B extends $Else
            ? "$else" extends keyof $O
                ? $Override.$Unwrap<$O["$else"]>
                : $O["selection"] extends "filter"
                    ? never
                    : false
            : $ResolveBranch._<T, $O, $B>

    Type Parameters

    • T
    • $O extends Record<string, any>
    • $B
    +_Last | type-plus - v8.0.0-beta.6

    Type Alias _Last<T, $O, $B>

    _Last<T, $O, $B>: $B extends $Then
        ? "$then" extends keyof $O
            ? $Override.$Unwrap<$O["$then"]>
            : $O["selection"] extends "filter"
                ? T
                : true
        : $B extends $Else
            ? "$else" extends keyof $O
                ? $Override.$Unwrap<$O["$else"]>
                : $O["selection"] extends "filter"
                    ? never
                    : false
            : $ResolveBranch._<T, $O, $B>

    Type Parameters

    • T
    • $O extends Record<string, any>
    • $B
    diff --git a/types/_ResolveBranch._OLast.html b/types/_ResolveBranch._OLast.html index d7c49325b..6fe3b9d50 100644 --- a/types/_ResolveBranch._OLast.html +++ b/types/_ResolveBranch._OLast.html @@ -1 +1 @@ -_OLast | type-plus - v8.0.0-beta.6

    Type Alias _OLast<$D, $O, $B>

    _OLast<$D, $O, $B>: $B extends $Branch<any>
        ? $B["value"] extends keyof $O
            ? $O[$B["value"]] extends infer R extends $Override<any>
                ? [R, never] extends [never, R]
                    ? $D
                    : R["value"]
                : $D
            : $D
        : $D

    Type Parameters

    • $D
    • $O extends Record<string, any>
    • $B extends $Branch<any> | unknown
    +_OLast | type-plus - v8.0.0-beta.6

    Type Alias _OLast<$D, $O, $B>

    _OLast<$D, $O, $B>: $B extends $Branch<any>
        ? $B["value"] extends keyof $O
            ? $O[$B["value"]] extends infer R extends $Override<any>
                ? [R, never] extends [never, R]
                    ? $D
                    : R["value"]
                : $D
            : $D
        : $D

    Type Parameters

    • $D
    • $O extends Record<string, any>
    • $B extends $Branch<any> | unknown
    diff --git a/types/_ResolveBranch._Override.html b/types/_ResolveBranch._Override.html index 2950d5046..3f567faa6 100644 --- a/types/_ResolveBranch._Override.html +++ b/types/_ResolveBranch._Override.html @@ -1 +1 @@ -_Override | type-plus - v8.0.0-beta.6

    Type Alias _Override<$D, $O, $B>

    _Override<$D, $O, $B>: $B extends [infer B]
        ? _OLast<$D, $O, B>
        : $B extends [infer B, ...(infer Bs extends ($Branch<any> | unknown)[])]
            ? _OLast<_Override<$D, $O, Bs>, $O, B>
            : never

    Type Parameters

    • $D
    • $O extends Record<string, any>
    • $B extends ($Branch<any> | unknown)[]
    +_Override | type-plus - v8.0.0-beta.6

    Type Alias _Override<$D, $O, $B>

    _Override<$D, $O, $B>: $B extends [infer B]
        ? _OLast<$D, $O, B>
        : $B extends [infer B, ...(infer Bs extends ($Branch<any> | unknown)[])]
            ? _OLast<_Override<$D, $O, Bs>, $O, B>
            : never

    Type Parameters

    • $D
    • $O extends Record<string, any>
    • $B extends ($Branch<any> | unknown)[]
    diff --git a/types/_ResolveOptions.html b/types/_ResolveOptions.html index e9380d382..2183a6185 100644 --- a/types/_ResolveOptions.html +++ b/types/_ResolveOptions.html @@ -2,4 +2,4 @@

    Resolve options to the first non unknown value.

    The Values are assumed to be a tuple with at least one value. These checks are not performed for performance considerations.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_Select-1.html b/types/_Select-1.html index 0cb86732b..f7f630d14 100644 --- a/types/_Select-1.html +++ b/types/_Select-1.html @@ -19,4 +19,4 @@
    type R = $Select<undefined, undefined, $SelectionBranch> // $Then
    type R = $Select<string, undefined, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/_Select._.html b/types/_Select._.html index b0ef57eae..836070bfb 100644 --- a/types/_Select._.html +++ b/types/_Select._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, U, $O>

    _<T, U, $O>: $IsDistributive<$O> extends true
        ? $Select._D<T, U, $O>
        : $Select._N<T, U, $O>

    Type Parameters

    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, U, $O>

    _<T, U, $O>: $IsDistributive<$O> extends true
        ? $Select._D<T, U, $O>
        : $Select._N<T, U, $O>

    Type Parameters

    diff --git a/types/_Select._Branch.html b/types/_Select._Branch.html index 8b2333ff1..2b799161c 100644 --- a/types/_Select._Branch.html +++ b/types/_Select._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/_Select._D.html b/types/_Select._D.html index ba03a7c22..07daceb7c 100644 --- a/types/_Select._D.html +++ b/types/_Select._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, U, $O>

    _D<T, U, $O>: T extends U
        ? $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, U, $O>

    _D<T, U, $O>: T extends U
        ? $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/_Select._Default.html b/types/_Select._Default.html index 8f2c4bd57..816d2cc4a 100644 --- a/types/_Select._Default.html +++ b/types/_Select._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    +$Default | type-plus - v8.0.0-beta.6
    diff --git a/types/_Select._N.html b/types/_Select._N.html index 2c39c3082..2319c73de 100644 --- a/types/_Select._N.html +++ b/types/_Select._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, U, $O>

    _N<T, U, $O>: [T] extends [U]
        ? $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, U, $O>

    _N<T, U, $O>: [T] extends [U]
        ? $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/_Select._Options.html b/types/_Select._Options.html index bd7b68017..04d703d52 100644 --- a/types/_Select._Options.html +++ b/types/_Select._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/_SelectionBranch.html b/types/_SelectionBranch.html index 490d217ea..aac274db4 100644 --- a/types/_SelectionBranch.html +++ b/types/_SelectionBranch.html @@ -6,4 +6,4 @@

    Type Parameters

    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Branch
    > = ...

    namespace YourType {
    export type $Options = $SelectionOptions
    export type $Branch = $SelectionBranch
    }

    type R = YourType<T> extends infer R
    ? R extends $Then ? HandleThen
    : R extends $Else ? HandleElse
    : never
    -
    +
    diff --git a/types/_SelectionFilter.html b/types/_SelectionFilter.html index 8560405bc..42dc1bf54 100644 --- a/types/_SelectionFilter.html +++ b/types/_SelectionFilter.html @@ -5,4 +5,4 @@

    Type Parameters

    type YourType<
    T,
    Options extends YourType.$Options = YourType.$Default> = ...

    namespace YourType {
    export type $Options = $SelectionOptions
    export type $Default = $SelectionFilter
    }

    type R = YourType<ThenType> // ThenType
    type X = YourType<ElseType> // never
    -
    +
    diff --git a/types/_SelectionOptions.html b/types/_SelectionOptions.html index 5903ce849..ae4033a0e 100644 --- a/types/_SelectionOptions.html +++ b/types/_SelectionOptions.html @@ -10,4 +10,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Branch
    > = ...

    namespace YourType {
    export type $Options = $SelectionOptions
    export type $Branch = $SelectionBranch
    }
    -
    +
    diff --git a/types/_SelectionPredicate.html b/types/_SelectionPredicate.html index 0a926e839..bcda3100d 100644 --- a/types/_SelectionPredicate.html +++ b/types/_SelectionPredicate.html @@ -4,4 +4,4 @@
    type YourType<
    T,
    Options extends YourType.$Options = YourType.$Default> = ...

    namespace YourType {
    export type $Options = $SelectionOptions
    export type $Default = $SelectionPredicate
    }

    type R = YourType<ThenType> // true
    type X = YourType<ElseType> // false
    -
    +
    diff --git a/types/_SpecialType-1.html b/types/_SpecialType-1.html index e4b3d84b5..183b65a4b 100644 --- a/types/_SpecialType-1.html +++ b/types/_SpecialType-1.html @@ -1,3 +1,3 @@ $SpecialType | type-plus - v8.0.0-beta.6

    Type Alias $SpecialType<T, $O>

    $SpecialType<T, $O>: 0 extends 1 & T
        ? $ResolveBranch<T, $O, [$Any, $Then]>
        : [T, unknown] extends [unknown, T]
            ? $ResolveBranch<T, $O, [$Unknown, $Then]>
            : [T, never] extends [never, T]
                ? $ResolveBranch<T, $O, [$Never, $Then]>
                : $ResolveBranch<T, $O, [$Else]>

    🧰 type util

    A type utility to handle special types: any, unknown, and never.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_SpecialType._Branch.html b/types/_SpecialType._Branch.html index 4b94b5451..58a747299 100644 --- a/types/_SpecialType._Branch.html +++ b/types/_SpecialType._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/_SpecialType._Options.html b/types/_SpecialType._Options.html index 42069aadd..9b91e5019 100644 --- a/types/_SpecialType._Options.html +++ b/types/_SpecialType._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/_Then-1.html b/types/_Then-1.html index e49970ccd..62b56ea3d 100644 --- a/types/_Then-1.html +++ b/types/_Then-1.html @@ -1 +1 @@ -$Then | type-plus - v8.0.0-beta.6
    +$Then | type-plus - v8.0.0-beta.6
    diff --git a/types/_Then._Branch.html b/types/_Then._Branch.html index 805d26a5c..91e247172 100644 --- a/types/_Then._Branch.html +++ b/types/_Then._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch

    $Branch: {
        $else: $Then;
    }
    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch

    $Branch: {
        $else: $Then;
    }
    diff --git a/types/_Unknown-1.html b/types/_Unknown-1.html index 257edb8c6..243e63f38 100644 --- a/types/_Unknown-1.html +++ b/types/_Unknown-1.html @@ -1,3 +1,3 @@ $Unknown | type-plus - v8.0.0-beta.6

    Type Alias $Unknown

    $Unknown: $Branch<"$unknown">

    🧰 type util

    A special branch for unknown check to represent the value is unknown.

    -
    +
    diff --git a/types/_Unknown._Branch.html b/types/_Unknown._Branch.html index 5be3ddd05..c294313b4 100644 --- a/types/_Unknown._Branch.html +++ b/types/_Unknown._Branch.html @@ -4,4 +4,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Unknown.$Options
    export type $Branch = $Unknown.$Branch
    }

    type R = YourType<T, YourType.$Branch> extends $Unknown ? HandleUnknown : HandleOthers
    -
    +
    diff --git a/types/_Unknown._Options.html b/types/_Unknown._Options.html index 0fcd3b520..60de60efe 100644 --- a/types/_Unknown._Options.html +++ b/types/_Unknown._Options.html @@ -3,4 +3,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Unknown.$Options
    export type $Branch = $Unknown.$Branch
    }
    -
    +
    diff --git a/types/testType.InspectedType.html b/types/testType.InspectedType.html index 7f7c28ace..b3f7c2ea2 100644 --- a/types/testType.InspectedType.html +++ b/types/testType.InspectedType.html @@ -1 +1 @@ -InspectedType | type-plus - v8.0.0-beta.6

    Type Alias InspectedType<T>

    InspectedType<T>: {
        extends_1: T extends 1
            ? true
            : false;
        extends_1n: T extends 1n
            ? true
            : false;
        extends_a: T extends "a"
            ? true
            : false;
        extends_any: T extends any
            ? true
            : false;
        extends_array_unknown: T extends unknown[]
            ? true
            : false;
        extends_bigint: T extends bigint
            ? true
            : false;
        extends_boolean: T extends boolean
            ? true
            : false;
        extends_false: T extends false
            ? true
            : false;
        extends_function: T extends Function
            ? true
            : false;
        extends_never: T extends never
            ? true
            : false;
        extends_null: T extends null
            ? true
            : false;
        extends_number: T extends number
            ? true
            : false;
        extends_object: T extends object
            ? true
            : false;
        extends_string: T extends string
            ? true
            : false;
        extends_symbol: T extends symbol
            ? true
            : false;
        extends_true: T extends true
            ? true
            : false;
        extends_tuple_empty: T extends []
            ? true
            : false;
        extends_undefined: T extends undefined
            ? true
            : false;
        extends_unknown: T extends unknown
            ? true
            : false;
        extends_void: T extends void
            ? true
            : false;
        intersect_1: T & 1;
        intersect_1n: T & 1n;
        intersect_a: T & "a";
        intersect_any: T & any;
        intersect_array_unknown: T & unknown[];
        intersect_bigint: T & bigint;
        intersect_boolean: T & boolean;
        intersect_false: T & false;
        intersect_function: T & Function;
        intersect_never: T & never;
        intersect_null: T & null;
        intersect_number: T & number;
        intersect_object: T & object;
        intersect_string: T & string;
        intersect_symbol: T & symbol;
        intersect_true: T & true;
        intersect_tuple_empty: T & [];
        intersect_undefined: T & undefined;
        intersect_unknown: T & unknown;
        intersect_void: T & void;
        type: T;
        union_1: T | 1;
        union_1n: T | 1n;
        union_a: T | "a";
        union_any: T | any;
        union_array_unknown: T | unknown[];
        union_bigint: T | bigint;
        union_boolean: T | boolean;
        union_false: T | false;
        union_function: T | Function;
        union_never: T | never;
        union_null: T | null;
        union_number: T | number;
        union_object: T | object;
        union_string: T | string;
        union_symbol: T | symbol;
        union_true: T | true;
        union_tuple_empty: T | [];
        union_undefined: T | undefined;
        union_unknown: T | unknown;
        union_void: T | void;
        extends<R>(): T extends R
            ? true
            : false;
        intersect<R>(): T & R;
        union<R>(): T | R;
    }

    Type Parameters

    • T
    +InspectedType | type-plus - v8.0.0-beta.6

    Type Alias InspectedType<T>

    InspectedType<T>: {
        extends_1: T extends 1
            ? true
            : false;
        extends_1n: T extends 1n
            ? true
            : false;
        extends_a: T extends "a"
            ? true
            : false;
        extends_any: T extends any
            ? true
            : false;
        extends_array_unknown: T extends unknown[]
            ? true
            : false;
        extends_bigint: T extends bigint
            ? true
            : false;
        extends_boolean: T extends boolean
            ? true
            : false;
        extends_false: T extends false
            ? true
            : false;
        extends_function: T extends Function
            ? true
            : false;
        extends_never: T extends never
            ? true
            : false;
        extends_null: T extends null
            ? true
            : false;
        extends_number: T extends number
            ? true
            : false;
        extends_object: T extends object
            ? true
            : false;
        extends_string: T extends string
            ? true
            : false;
        extends_symbol: T extends symbol
            ? true
            : false;
        extends_true: T extends true
            ? true
            : false;
        extends_tuple_empty: T extends []
            ? true
            : false;
        extends_undefined: T extends undefined
            ? true
            : false;
        extends_unknown: T extends unknown
            ? true
            : false;
        extends_void: T extends void
            ? true
            : false;
        intersect_1: T & 1;
        intersect_1n: T & 1n;
        intersect_a: T & "a";
        intersect_any: T & any;
        intersect_array_unknown: T & unknown[];
        intersect_bigint: T & bigint;
        intersect_boolean: T & boolean;
        intersect_false: T & false;
        intersect_function: T & Function;
        intersect_never: T & never;
        intersect_null: T & null;
        intersect_number: T & number;
        intersect_object: T & object;
        intersect_string: T & string;
        intersect_symbol: T & symbol;
        intersect_true: T & true;
        intersect_tuple_empty: T & [];
        intersect_undefined: T & undefined;
        intersect_unknown: T & unknown;
        intersect_void: T & void;
        type: T;
        union_1: T | 1;
        union_1n: T | 1n;
        union_a: T | "a";
        union_any: T | any;
        union_array_unknown: T | unknown[];
        union_bigint: T | bigint;
        union_boolean: T | boolean;
        union_false: T | false;
        union_function: T | Function;
        union_never: T | never;
        union_null: T | null;
        union_number: T | number;
        union_object: T | object;
        union_string: T | string;
        union_symbol: T | symbol;
        union_true: T | true;
        union_tuple_empty: T | [];
        union_undefined: T | undefined;
        union_unknown: T | unknown;
        union_void: T | void;
        extends<R>(): T extends R
            ? true
            : false;
        intersect<R>(): T & R;
        union<R>(): T | R;
    }

    Type Parameters

    • T
    diff --git a/variables/JSONTypes-1.html b/variables/JSONTypes-1.html index da18ca0a6..14a3523e5 100644 --- a/variables/JSONTypes-1.html +++ b/variables/JSONTypes-1.html @@ -1 +1 @@ -JSONTypes | type-plus - v8.0.0-beta.6

    Variable JSONTypes

    JSONTypes: {
        get: (<T>(obj: JSONTypes, ...props: (string | number)[]) => T | undefined);
    }
    +JSONTypes | type-plus - v8.0.0-beta.6

    Variable JSONTypes

    JSONTypes: {
        get: (<T>(obj: JSONTypes, ...props: (string | number)[]) => T | undefined);
    }
    diff --git a/variables/MaybePromise-1.html b/variables/MaybePromise-1.html index 63bd28462..77bf7237c 100644 --- a/variables/MaybePromise-1.html +++ b/variables/MaybePromise-1.html @@ -4,4 +4,4 @@ transform the resolved value of the promise.

    Type Parameters

    Parameters

    Returns T extends Promise<any>
        ? Promise<R>
        : R

    the transformed result, or if the value is a promise, a new promse with the transformed result.

    -
    +
    diff --git a/variables/testType-1.html b/variables/testType-1.html index e4acbd329..f5475aa82 100644 --- a/variables/testType-1.html +++ b/variables/testType-1.html @@ -2,4 +2,4 @@

    This is designed specifically for testing. The return value is the input expected parameter asserted as the first type parameter, so that the type can be further inspected.

    -
    +