From d635a9fe02c92480d3faa5934ef5aeb85f7f4ffc Mon Sep 17 00:00:00 2001 From: "mergify[bot]" Date: Tue, 22 Oct 2024 00:13:28 +0000 Subject: [PATCH] deploy: 5423d123b12929f1dcadb6a1f80121671f84c279 --- 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 51376f196..79cd8e6aa 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 7da43069e..12ab43226 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 418bcbd01..e0deae9a9 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 06d6dd4a2..0e78a128f 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 bd0dcb5b3..082cd4c43 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 ca6277408..9f2f2d1ba 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 f7d7da358..a7f766976 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 e42a906f1..ba7ae1a7e 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 47a1bfc9b..505cfd764 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 fdf055c56..1e267cd3d 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 1d8b87627..a4be8c997 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 91ea53521..418b91b77 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 37dff57eb..2510ae9df 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 35f38ef64..ee7b43b0b 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 5f400bff1..8e866e39b 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 69ec9c58e..15905ec00 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 66336f566..b0fdfb41e 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 a51dcb458..130b0c38c 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 87558ae9a..df456a4cf 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 31b871696..e78d76092 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 d2865637b..d3b787645 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 c6fb9e9cf..9c7d19e08 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 26cf8b03e..9c1927090 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 ee46e1519..ca5aa18e0 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 f04f242cb..1426b14eb 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 170a05282..8ce2457de 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 49b6bb233..a14b6948a 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 27c09ce87..ffaa9e94c 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 b564ebc3b..a18335bc5 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 ef2c0c428..ce2f29264 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 8d371f67a..ce0b0dd54 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 aa6e0fd13..0ff9ec12e 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 e37f791b2..68b6838e8 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 51c068c53..ecb2e8536 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 c951adddb..f4f881ba0 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 0eaeec3bf..2788e4866 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 630d520c9..0c1c814d6 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 f1e39c76e..f9753f57e 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 1a7dc117a..6ddb45a08 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 8e30a2d47..24d811554 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 1893d37e2..8ba75c708 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 f6db61e89..87d873648 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 5c233326b..0d84366cc 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 5d0b115c1..6e249c68d 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 747710961..ace90c914 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 8b6e2c950..d2d67567d 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 2abd8e18a..a968bcf46 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 c132c070e..df28ec15f 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 1f0e59351..f9cb63b40 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 f53a6f4fd..38b4991a9 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 b677a1420..770a05275 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 b2f74ce99..227edf3e0 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 3a72e285c..d353757c6 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 7003b577b..7e5d9d8c4 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 3ed69a7cf..55eb2466a 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 5630a8f53..e2be2295b 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 965ad0ebd..578be1c31 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 2236e9890..afb463ac2 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 457774b1c..9eb2d9167 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 57e390016..69e13fb31 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 6f6e054ab..030b087dd 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 81126c535..226097283 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 e6973da5a..dbea7ea4c 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 80c8c2a53..3e95df816 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 6fd600796..702169ac8 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 39524f86d..7751b91a2 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 6e8162f9a..f2e7fd394 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 77142d0f9..c7f057a61 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 322b2cb1a..33577d0f1 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 88ec9330c..bf411bd75 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 3dd56b29b..0ac2a8d52 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 ba4eb420d..14d2a05cd 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 6fcb7f69a..a1f7b0d67 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 690c0b69a..5ae74aa04 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 c934933eb..9ef537df9 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 900ab4918..fa01bef7d 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 a82557fd4..971dbfbf4 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 a222b3c2f..174323478 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 8747a64b9..d0bf52d3e 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 b23806d70..d9c05bb86 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 10eb45fb8..d890eff5e 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 9e0b414be..d916dbc30 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 88a3fabcc..6ecfe5380 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 32e047206..f7afae4ca 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 bdfb07767..670a7477d 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 67069d890..7750d086d 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 207b6a2c8..293fdccc3 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 17a18ac30..b31b0dba1 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 0bfd1b120..79de1e7a3 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 ddba75a4f..6b0a9358b 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 65fd190f9..cce69ce1b 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 689b69d6c..c114bc1cc 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 55939b982..82cf5808f 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 224efaafc..7bb23568c 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 938305270..4d175c3ef 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 b1900d5df..04ff59348 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 4bc73d5a3..6c1054981 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 cfc2e3d6c..6eabea1b8 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 0bf942d2b..eb6a29ebb 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 e0003b924..68f5645bd 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 a1ffc6916..07b3d1845 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 ca0b4bcb4..b48543142 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 ffcc52c4e..3087925dc 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 8da327dbe..2f28b9458 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 e353af5cd..8332be162 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 6ef08a6be..a5db2ed33 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 1a841da28..dc8114e64 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 ca1e35c87..f9e251a7e 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 5be0468be..7ff73534a 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 407e47a66..976eefff6 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 493a90ec7..19885ee7c 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 a90e74f84..6c4b703c0 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 53f0394b0..ef46f71c0 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 7caf954ed..c46fb9475 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 781a432b0..2723409f7 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 6ee131664..e2226eed5 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 26dc50423..2c8bfd69e 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 7830775a1..1de254864 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 848c7128b..a6ac1cc60 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 226d08393..1cf5d8976 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 d0788ad31..35d896c19 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 8a0bb29b8..79cacfa6d 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 5f5de11d9..5150309a0 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 497b248ce..e24062a4f 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 aeb57fb9c..ef1bace95 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 5b1a94fbe..e756a1f4d 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 c115d5fc4..604ceea19 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 7fa24da9d..b2fec7420 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 f356d47a2..95953fcf4 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 4b5201f19..d76399131 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 dde7d58b7..01a3a76a6 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 593795db4..212a34d01 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 edb6bc96b..52b4db3c8 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 e5b08fd9b..a767af2b0 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 8c8423586..164c59288 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 6e69f7a05..74a153129 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 8b92b7d42..23474185d 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 16fde8115..149cb7e9b 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 273daaccf..58f56e392 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 7289d5efa..ebd425d22 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 b0eb0721c..de523522b 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 1fcc2cbed..8f2ae0394 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 7518682d2..88435b096 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 d671b694c..b8dadd849 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 a58f772ed..71a614e69 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 919e175d6..e7959cfac 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 5d0fb7a5f..b323c26ab 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 34aef44c8..67fb9371e 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 6a5a45b4a..6cc0bdb99 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 5b4928d3e..bf5f84aa3 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 05d2e22c6..f81f99aa7 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 1cc316cb8..62fd5fdd4 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 c941bf049..61cc2fbe6 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 92b8cedf7..3c41c8e5a 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 4a8861b89..389ac6966 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 a1ee764bc..e2d69a364 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 603737c1e..5c3c2b3ff 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 0b7c7c6a9..eb5824073 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 b5be7148d..9e8d22ba3 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 0474f7d3b..b05172f91 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 eb9f74215..dd5153941 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 5ce8c0aad..f05eb84fc 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 3f81ac184..99997c532 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 2a4aa445c..042a49b47 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 82e711211..c81a0aa5c 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 8280a853b..3b882c255 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 5d23cfa29..8418e5115 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 728a067c7..342fb398b 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 20c8ab006..26b10123b 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 a4dbab9cf..a23ac3e28 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 84e60da12..95afde8f7 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 570f224d5..008e35629 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 15cbd8201..84b83a7cb 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 727942c6a..16bc71dc3 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 257a23bcf..8b5423b08 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 c09db00a9..32cc9a492 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 7b1a927f5..ce1a17240 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 50c827463..7ae05026f 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 f8db20c96..e2346323f 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 7d85adc5f..08a36d74b 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 30a32fa09..5e949a690 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 c5915121d..15f057dc5 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 bb13fec4e..ddc2826f1 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 cfe2cfed1..d651357f1 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 f28d20cf4..b9d4ef804 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 6e57f08df..00210c3a6 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 9412c79d7..5aa563e23 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 a8fc7811c..c1338b823 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 842b6d0d5..fafe5df03 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 1ff37fb36..88975972d 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 7fe8833f7..ac94af5fb 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 b77e6b0da..70a6be1f2 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 5483da373..3499dc56f 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 96c052047..e9fabaa73 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 54db7f87d..f38a1e3b4 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 56924a3fa..79ce2448c 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 b42339d47..111b28dec 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 7ab3add42..2af8580ab 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 4395e78b8..78dd53be9 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 caf95e854..0a70f479e 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 bdbe4bb00..6c97df916 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 04aff2bcb..a2f5ed7e7 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 f4095ced0..246f35037 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 4ebd9ff7b..9ef4f2892 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 e6d58aca0..54936c1ab 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 cce7a2f9b..cea662fb1 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 0aacc55dd..25ab5adb8 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 8d106ab0d..82afcc825 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 f14f87fa4..f61f1f8de 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 ad3683bc4..86b8e5dea 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 2bf6836a9..3fb13818b 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 9e5ba45f0..19129cb12 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 976e9e5a9..99e33a177 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 be3a221d9..2190de393 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 bb6e85648..036479f19 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 6f94c04b8..4795a7ef2 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 6b1170eed..1f5af4e7f 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 ea687f949..e2a34786e 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 2ff145cf5..70b852403 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 f8f69ccfc..cae08db7d 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 2ff6f1504..d8bdca561 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 9890f460f..c63652b0e 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 493b5ad53..b2750c9a8 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 4a082bf86..945c059fb 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 2c7eba367..32c9f415f 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 4c978bc04..c65a6fbf0 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 1777353a4..34bde5ed1 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 a25f39abf..e3e59ff80 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 fde994a32..a3321552a 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 7355fdc36..6b581281d 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 9c33a6380..b099eca58 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 7f02a0a0a..994becf28 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 0d8700fac..5563b6404 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 beba87a03..2983c6371 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 b3e313247..5bb172b82 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 aeb23547d..f2a4c7029 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 42d249344..2d99aaa56 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 e4028043d..8953806e0 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 81d0be105..3d250bc94 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 241570a56..9f433a410 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 3b3691788..0e54605ea 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 e9f1a0d14..1965e1875 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 553114731..29f7b6fc7 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 2cfe4d483..58d779361 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 abc48afb4..fae2dc82a 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 e3a9069ab..3ab5fabe9 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 a6eead97b..c24a051fe 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 2ddde62eb..2e679ab46 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 ea1140dde..d899e7b46 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 0414f4d7f..5878341f5 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 c5d888b1c..4de7508a8 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 4973100bf..d3a5f0f6a 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 4d53a23e2..9023ff5e0 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 3e8992b5c..deb2ef9a5 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 32c1d765c..b4878e075 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 ec553708d..0f85214ff 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 91ffc68f3..6e31e4d8d 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 793c98b9e..516ef4a17 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 3ef855c0c..c4381dca2 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 8b491b1d0..c585d1ac4 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 4aba4e620..03403d449 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 17de29c68..27e2f7de9 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 66c513437..aaf4f8927 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 9df4910ae..da5115429 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 dfc9c1511..8e3d4dbd2 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 2939ff266..ed1e2cae6 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 e8118229a..c8f6bc97e 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 460c1f8dc..f4445ec16 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 bf8817210..7d23c8eb1 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 f68d86e71..cd2f7a487 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 ca5243406..9de686577 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 140e67a83..35ad5d103 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 b7c1818db..a1d495ed8 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 f146a17d2..acb4b5937 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 d33d6605b..a78c77d91 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 ca6f9e729..3a2f99b2e 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 7f74db549..839df0b1d 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 c7009c2d9..27e001a88 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 77921d474..6d7664c0a 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 157280d41..a499d287f 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 0d4ca608e..598e325ca 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 82447826b..ddf75a028 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 6d04153d8..86307c9d7 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 83cc30df2..1e25192e0 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 34de1d395..10cffb97a 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 b982932d3..01dad162c 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 b524b6c0d..b30f99835 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 7fc0cbb1f..13e840afa 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 5e6e54fa4..b93fa262d 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 3da705ea0..d11d6605b 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 c5da06e75..2b39cfb34 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 03e0020c4..0aa89b490 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 9141193a8..9cad11d91 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 f8edbbec2..3dae86d4b 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 1f1f6bd0e..d8a66eccc 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 6c72b3f58..9b00d1a40 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 bea68d2c4..320d5a6e6 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 6ec26113f..89c2eb979 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 b8163114a..a082128af 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 6cea237c7..c05919450 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 cb9a6326f..b611cac3b 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 68423bb4a..f62220f05 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 e2e8b8f56..9334f2043 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 ea0b55976..2e74e2da7 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 3ee466004..f35baa29b 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 167dfc32c..a9208dd2a 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 4adfcd74d..765fb703b 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 73bac78ed..0f06c4926 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 c33206365..8e4ec6de5 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 3d388e54e..45c7e578d 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 9652ee501..08a1b6057 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 3eea618bd..7fcc0a03d 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 9ba04b71a..10fb216cc 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 8fa81cc19..a91afa51c 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 6ff3db583..088c5f24e 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 6552a6daa..db13c2bf9 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 208ac937d..47699e069 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 026e7129e..7be8e64e3 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 507b08816..a217c58b9 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 1e3cae594..02b95bff7 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 22f1621f9..889b578d8 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 e7a27517a..0caea54bd 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 03e5a234b..4b8f66254 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 4b6f76996..082cdb422 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 b5fabe8ee..bf38f3eb6 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 21932a74e..f6d640469 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 0f7c858c4..96c974eca 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 d04e1f2ff..598e8881c 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 bc0f856bb..7627ffa22 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 928438748..bd1329ef1 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 4625b6bd4..35a529ec2 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 f45b3bae1..94e59f201 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 e4e2dbe6c..8e7aad5af 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 db4a03c62..8870689f0 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 2e430d8b7..846f8f098 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 4c3172cdf..fcf55887d 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 60e222875..44fe7d811 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 35d6bf80a..36745889a 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 9f40efdd3..86c0e0763 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 060985237..384466bcd 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 0e096f1b6..112cab9d6 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 1c362f56a..17771311e 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 5e30a7b9b..e9d3e1fc1 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 27af3b01e..88b3a413a 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 3445a00a0..7d27d0395 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 35ec87b1d..f61d32d3d 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 67dd132d4..aa222524c 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 0e8492019..d235d8105 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 5dd072989..05697a931 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 72f600e6c..c10cefc3a 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 2c9b7e8ac..b8af763eb 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 cbdf87c48..d8cb4cb28 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 46b892fe7..c0ce8d6c7 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 d96313279..f679ad907 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 7dd8a1f71..d40b3f22a 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 dc4c7bdbe..ef1d40aed 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 61bc7b293..aee528519 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 aa3cfdfae..fda0c84bd 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 5f8c7059d..104d70afb 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 cbdccb915..859b7d929 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 7fd324a89..580595349 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 5d1ea9480..888221759 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 8d566be22..cdc802a4e 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 a34fbdb4a..b7bc35a73 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 b08c386c1..504b376a3 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 73dae0066..38dd9e2cf 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 ef3f77380..12cc920d1 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 30c1978c4..66896e827 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 b0620d32d..60210e92a 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 da2797332..ad7ed5b3d 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 79a1164a9..37fa1fdfc 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 2c0ace1fe..3a2f6a65f 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 ad2cb98a4..52ae24664 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 19f3d9cd7..48c2a829c 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 f7806199b..750f25c06 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 008bc895e..b30868e7f 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 3e55936c6..507ff85c0 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 136a84ebb..a4b14cff0 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 9f06e96a1..299cf2987 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 55b5001a4..28e175ed0 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 a410cde32..8d23b6bbf 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 6ef3161d6..b70daf4e3 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 9713c1800..bd0838099 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 cb166425f..652dd03bb 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 f3372d4a4..bf4c44eda 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 cab4c4074..73eb51f15 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 1999c0264..67065bfdd 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 1ac9c3496..98b32e9f5 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 b80896784..9e41f3aa6 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 bcb965dbb..a81c28232 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 5ad8effd6..68933eadc 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 4ebbc5355..cbe045d9b 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 6722f1023..baa1df3f7 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 5cf06c5e0..5ca44cb3d 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 e16989b85..150d9ab54 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 533fabda6..211d2c28e 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 1f1dd6911..c78b7db0d 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 7b47bdbe1..433990398 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 ad43945c3..19e19dd2e 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 0b5e1c682..231cbcf81 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 b3fe66dc4..9279a2d8d 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 63ce20bc5..1f58a7368 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 e2bf1a794..b3c3d1888 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 dae90a886..4a0c646ec 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 c824aadc5..5c8238c14 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 7eb2d43fd..a35a3f16d 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 923f4acab..f6507a2da 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 2d180566c..c09553e2e 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 9bd7f31da..4a97ea2b4 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 daf65a9b1..83843c7f1 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 80fa2f014..3474811b3 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 205f919be..97999c24a 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 385135206..dec9a1000 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 8be6ac2c5..286e797b9 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 884fc9eb0..b7af7cdc1 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 7f549a241..b5545bb0e 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 b3c8923fe..b3f1439e4 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 74fca13cf..3d93ae999 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 8a1199211..f3ae5c7e2 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 bf8c3a15e..179a184b8 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 b96c42e95..dfed1cdea 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 83d12987c..825849383 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 dcba53e34..44ccdcd70 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 d41c108be..a00d4b90e 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 4c71a6d45..46034b5d8 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 b656e9497..abf2f73a2 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 b41e48bfe..b537e0b8e 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 57c1e03da..b66e7556c 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 2ae403a18..5751a12dd 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 832439e4e..9021d6e6f 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 f4e26eea2..f2578d510 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 6c8212fc1..6bb1cc8c8 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 c553f371f..00da810f5 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 163ee519d..4e921a33e 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 e5a510e3f..58bfb4129 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 7732f4956..e6df51138 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 10586a4d6..5e45f2e56 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 cf994ec3b..af43e4709 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 ca1cc2f4d..e597491a3 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 df4700089..231347dba 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 881b6b27b..68a24d6a6 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 17c8bcff7..9e6da7be1 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 3fd76e3ef..86f1278df 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 d3b412bbe..f014b9c71 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 4f248fc98..d1d45ea99 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 060277c8f..aa5abeabc 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 c07b41e87..1743282dd 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 1e374029e..52c9e09e3 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 1b57fa1dd..1da64d6c2 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 ee74561df..8272d3145 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 2073f2657..195e153bb 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 113fdfcef..3a5406415 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 55c72296c..29d7c8858 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 7a9e1f89c..368de0587 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 e26d5bab8..4551a38f7 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 6832a08ce..d9455fa1d 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 938e901d7..4ae1861e9 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 4e3f38f2a..034709b60 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 2a7f88df8..1ca921cb7 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 6a7912801..c57b90847 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 572fc7001..3f4b19272 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 af8857280..6efd3f992 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 f560bae2b..56bd21ac7 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 04ee1ad2b..310247de2 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 08333b054..a7db8ac80 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 2edae2ecb..ac4a0686a 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 c4a9b1858..b4d108b50 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 b9ea48954..6165d1e0e 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 b5bf0fc5e..6b70fa028 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 d78b73a25..92f14e4b4 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 eb4661415..e2bbdcf90 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 4c7349c57..e7451f03b 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 694c09afa..f43d0dd34 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 9d91ed7fc..bd7c7ed94 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 9e09786eb..02eb2b0a6 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 c0b33a9c9..ec51873fb 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 cb3705bc9..e58cd08a9 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 381051cde..1e6ca9cc5 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 3b688f463..5888ca1ae 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 865141389..2d3e939b8 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 6c917799a..e57df05fe 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 321ff5efb..3e9ed8927 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 3dfc6f0cb..91743cf10 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 6d1a829f2..0dac9b312 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 dc2f059f2..cc47830b3 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 e6a381a3c..1bc1d19ad 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 3fb30bd13..a1ebe67e9 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 eb1da9215..fb5041592 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 7ce062589..d850bd467 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 c30b16aba..a7142da3a 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 a0610d041..78fa04e64 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 6f41950a1..1818c7eb5 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 667ec4a63..3930b31bf 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 4cffe9794..13fd16227 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 9d3dbda4d..7e4bbf80e 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 078c246c0..c0646686e 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 b995f2fbf..b6c52eff2 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 7c562103f..ae164fce9 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 3f33f57d6..ec24c4ce2 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 0daf4c429..9e03f79f2 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 824456354..48d711f0d 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 a98f98753..aaa41ff9c 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 bb6ede8ef..3aaf29cc2 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 e1644e4f3..5032c880c 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 e38666f16..2162de55f 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 b354b89db..d6e041fe2 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 a006ebe76..4f57998ff 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 a04ea29ec..e820325da 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 94531ac12..782e86825 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 4c68e50a7..ddf039c64 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 bee12f1de..d2ff5aab3 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 e3321344e..19a7b5940 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 414babc61..90036a6d2 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 d3f58b1e5..374177d1e 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 05f859645..189965c1d 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 2a80879ad..f6358b07f 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 3fa66a1bc..0703ee038 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 8efd59931..d612c9cc4 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 0d97d96fc..6ca4c7b01 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 14097332d..f63b2e372 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 c6f87d9ab..b54d3f6df 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 946fac6bd..3253c12bd 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 d58c7a0ac..ebb00ef5b 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 128bb5d61..9e9bca3d6 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 a34cd6367..733cab9ae 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 e12e7bc7b..5da1f8f02 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 df3552a63..0c00dec62 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 0a6212467..9a3afed27 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 510cfcbb2..a5942513a 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 ee3562e90..942c34e71 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 34e3764af..085a0fbca 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 92b6fa649..1a92088da 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 0b524423d..cf07c79b0 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 47e63a756..a7b8409b4 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 fe9811e2b..12e3342a7 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 4edf92f15..fb83a708d 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 bbfeb1e47..c66563042 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 763ee9f4d..a37947752 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 2e34fddfe..0fcbca603 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 9b35b6a0f..075562508 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 d52538201..0a9de3f6c 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 9c741154f..8397785d4 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 a2569c014..8fa8ddca4 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 2e3ca95f8..05b81973e 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 dc144f889..bb2431377 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 09a926856..c3ab8b3fb 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 74c0a0085..216f74470 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 b0ce12435..92b1afd7b 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 23cb7d628..885f5936b 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 2768bb693..976da090d 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 815a52d27..a2b4eab84 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 9a2e3faf3..5ed4fcc4b 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 0b6938b69..4001c8b84 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 34056c358..1fe7d46c9 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 16d33c62a..66c7b1a61 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 4989128f2..0834883f7 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 c0f0ff357..632b76742 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 5c932c317..a43dd7c9c 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 f92b27c99..266638f8c 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 aeda64775..bacf4297a 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 4c0739680..1ed42346b 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 374ad350c..f84b75d47 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 855aa962b..389c19f35 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 5d76f39fe..6b1a8eaec 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 35263d222..c40978b85 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 fb36d5f1d..07a6a52fd 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 cf7bf2c29..e213a4bda 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 5eff48a79..69827bf3a 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 472bcf6bf..8787edc74 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 e451e7b6c..0cb681f31 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 07c71eab3..69b49e50a 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 29d692c5a..d618fba71 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 75a01b643..72a99b979 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 f6943e07a..cacbc8f7c 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 5648be0d4..050816caa 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 20cdb7f90..4d9b6c181 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 1178afe7b..1f78680b1 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 db1a03d5a..79a3261d5 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 b49596418..8295efd1b 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 3aa4918d9..792f6ecd8 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 4817e9d68..2b4c385c7 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 0c6aadfed..b70bbf9a9 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 4f9b2885d..7f300f0d5 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 9a9eb93c2..374ab6c26 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 5091cb76c..406f8681a 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 10a4bc47c..4f41514b2 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 678ec135e..a317dc2c5 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 fc0ddf1bc..a7c3fe855 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 1cf5dd699..a7b312792 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 050983388..bdab1ad52 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 130eb77ab..15edc2cb8 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 6281c6f0f..d39304989 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 bfee463f3..3e75b392d 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 6e8da78a6..e69c73413 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 55bb0f3e4..cfcdb2141 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 c02e0d1fb..50fe6f40c 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 d34531ce8..a959c52bc 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 33a4d5ed4..f7c30ebd0 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 f947ea5fd..f5c9e2e2d 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 395224bba..1d7ad170d 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 d1e6b178d..bec686685 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 bce5b5a49..b86f5b25b 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 02506d5de..f17795fb4 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 9747df0c0..f3734f753 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 8e820ff0a..13fb540ee 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 ce594b3c6..39cba80f8 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 2777ae2b8..75a8b1307 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 0c07b1133..47d3c2f1b 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 941d600dd..76c71c66f 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 46f6bcb18..394342c3f 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 fcc0b8545..505d2775b 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 331f3d13b..7f07b194e 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 306090bfc..afc0b927c 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 e8455dbdd..709e0f3e2 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 f7a2468c4..175bad665 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 67e792b57..639c55b93 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 f56a5f22f..2c9c40067 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 7afc5c906..0f64b9b8c 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 e4da3dc84..4e7eaca83 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 d38e25f1f..91b77aed2 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 2350f2b9a..25ffb65d3 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 9eea62358..8aa4cfb19 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 e78cdfbd0..5409bb86f 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 8d7099ee8..38f3b3ec4 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 8b1819fdd..5baff8d0c 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 1f5f1442c..1bd4a4168 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 0cb92b48d..46da62513 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 a9127684e..74608f5c4 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 80df7941a..e498a3b69 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 a20f941b7..28467f8a3 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 36ada6215..361b3d41d 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 21f489b36..be6cbdf9c 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 dbcbcc18e..30e4fe075 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 8f4850b5b..c40062f4e 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 af958eed0..01cbb806c 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 e667d789a..629b96191 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 fd897c063..3a3f38b8a 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 9c1e2c607..88e314b6a 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 3dfa74e95..cbd44de4a 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 d04905cc3..ce17fac4f 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 af093b24b..40e0cf4ba 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 d9ddfc203..2c83303ca 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 7e446ec58..2af37b287 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 dcf6b06c9..ae2d4ac64 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 1f8369e01..f86440ebb 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 e4e02fa31..90702f6db 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 d85ba0ec7..616022e92 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 7d2dbcfda..ef3d8fc14 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 826b7ef9b..3550adc7a 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 ce214b127..4a2803a80 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 4e97ebc4f..5350b07ce 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 1a7a43061..90ae7f6bf 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 23da3c4bc..87cdf7d0e 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 e8ba86364..29e09efcd 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 0f76ae07c..8e6e790ad 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 294f761cf..e0bed667d 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 958234c53..690f4dc94 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 47186e061..c94f4314e 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 6c041ea9d..bca1cadbe 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 908a1c392..e9dd64315 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 5d4e58dcc..b7e55c510 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 f9dc87cb7..2237799b0 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 6a2b45d29..e5d40729f 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 70fed1d89..b20ee6564 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 69a303696..84f6239ca 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 d753e1381..6f0bccefb 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 a22d5aac6..894f34cb7 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 768c539fa..a9ab4a80d 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 90c58eadc..0e1b4333d 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 51a77337a..f266d010a 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 4d55d9ca2..e0823da96 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 902696314..a627f9b3a 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 c300a3af1..12b6640a5 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 760e22cfd..017194392 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 f07932840..b01d655b2 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 e93d22dd0..3e696455b 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 858bf209b..1b504f08a 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 8ded41337..525468e07 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 9ab52a485..7572f55cb 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 cd6328f46..773b3581c 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 c14094042..9667ba25a 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 f674a5dc6..d6ef19c98 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 1ea842715..1f35b3877 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 7ebc2c48a..830085e43 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 60301d8b1..6bd593cfa 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 27bc2bd6e..01acb0823 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 113a17185..da06cc331 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 2dd16e8d1..abc0fa6ca 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 9c2f2ed19..435f751c6 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 81860ab03..3a172cf25 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 7effe73eb..bd8e13ae5 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 a806ccfec..896483c64 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 5e85946a7..0fd3fde1a 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 ea672b858..f35cc09a3 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 3c4e85f23..fd995e437 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 6f1eadd2e..6aec01536 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 350b7533d..f567b28d9 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 829465009..65d3d5e0e 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 7d556ddf2..bd3265d27 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 a80071666..241851474 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 ebb3e348f..41200e36e 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 129754699..b0e059dc1 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 e4c325c4b..ac0f054aa 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 d9c87d01c..a51a1bef4 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 aac0b4c7a..932946e08 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 f7174b46b..e2897758e 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 c0cc2e06a..a2918897a 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.

    -
    +