inferred-types 0.40.6 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/Comma.js +1 -1
- package/dist/constants/Never.js +1 -1
- package/dist/constants/NoDefaultValue.js +1 -1
- package/dist/constants/NotDefined.js +1 -1
- package/dist/constants/TypeComparisons.js +1 -1
- package/dist/constants/index.js +22 -22
- package/dist/constants/tsconfig.tsbuildinfo +1 -1
- package/dist/inferred-types/index.js +3 -3
- package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/boolean-logic/ifChar.js +1 -1
- package/dist/runtime/boolean-logic/index.js +19 -19
- package/dist/runtime/combinators/index.js +3 -3
- package/dist/runtime/dictionary/get.d.ts.map +1 -1
- package/dist/runtime/dictionary/get.js +3 -3
- package/dist/runtime/dictionary/index.d.ts +0 -2
- package/dist/runtime/dictionary/index.d.ts.map +1 -1
- package/dist/runtime/dictionary/index.js +11 -13
- package/dist/runtime/dictionary/withKeys.d.ts +1 -1
- package/dist/runtime/dictionary/withoutKeys.d.ts +1 -1
- package/dist/runtime/errors/index.js +1 -1
- package/dist/runtime/functional/index.js +2 -2
- package/dist/runtime/functions/index.js +1 -1
- package/dist/runtime/index.js +14 -14
- package/dist/runtime/initializers/index.js +8 -8
- package/dist/runtime/lists/createConverter.d.ts.map +1 -1
- package/dist/runtime/lists/createConverter.js +1 -1
- package/dist/runtime/lists/find.d.ts.map +1 -1
- package/dist/runtime/lists/find.js +10 -2
- package/dist/runtime/lists/getEach.js +1 -1
- package/dist/runtime/lists/index.js +15 -15
- package/dist/runtime/lists/indexOf.d.ts.map +1 -1
- package/dist/runtime/lists/indexOf.js +9 -10
- package/dist/runtime/lists/unique.d.ts +2 -2
- package/dist/runtime/lists/unique.d.ts.map +1 -1
- package/dist/runtime/lists/unique.js +10 -15
- package/dist/runtime/literals/ifLowercase.js +1 -1
- package/dist/runtime/literals/ifUppercase.js +1 -1
- package/dist/runtime/literals/index.d.ts +1 -0
- package/dist/runtime/literals/index.d.ts.map +1 -1
- package/dist/runtime/literals/index.js +31 -30
- package/dist/runtime/literals/pluralize.d.ts.map +1 -1
- package/dist/runtime/literals/pluralize.js +2 -2
- package/dist/runtime/literals/split.d.ts +1 -1
- package/dist/runtime/literals/split.d.ts.map +1 -1
- package/dist/runtime/literals/split.js +1 -7
- package/dist/runtime/literals/stripBefore.d.ts +15 -0
- package/dist/runtime/literals/stripBefore.d.ts.map +1 -0
- package/dist/runtime/literals/stripBefore.js +18 -0
- package/dist/runtime/runtime-types/createType.js +1 -1
- package/dist/runtime/runtime-types/describeType.js +1 -1
- package/dist/runtime/runtime-types/index.d.ts +0 -2
- package/dist/runtime/runtime-types/index.d.ts.map +1 -1
- package/dist/runtime/runtime-types/index.js +6 -8
- package/dist/runtime/runtime-types/kind.d.ts +1 -1
- package/dist/runtime/runtime-types/typeTuples.d.ts +1 -1
- package/dist/runtime/runtime-types/typeTuples.js +1 -1
- package/dist/runtime/sets/index.js +1 -1
- package/dist/runtime/state/index.js +2 -2
- package/dist/runtime/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/type-conversion/index.js +9 -9
- package/dist/runtime/type-guards/higher-order/endsWith.js +1 -1
- package/dist/runtime/type-guards/higher-order/index.js +6 -6
- package/dist/runtime/type-guards/higher-order/isEqual.js +1 -1
- package/dist/runtime/type-guards/higher-order/isLength.js +1 -1
- package/dist/runtime/type-guards/higher-order/startsWith.js +1 -1
- package/dist/runtime/type-guards/index.d.ts +0 -1
- package/dist/runtime/type-guards/index.d.ts.map +1 -1
- package/dist/runtime/type-guards/index.js +32 -33
- package/dist/runtime/type-guards/isAlpha.js +1 -1
- package/dist/runtime/type-guards/isArray.d.ts +1 -1
- package/dist/runtime/type-guards/isArray.d.ts.map +1 -1
- package/dist/runtime/type-guards/isFalsy.js +1 -1
- package/dist/runtime/type-guards/isNumericString.d.ts.map +1 -1
- package/dist/runtime/type-guards/isNumericString.js +2 -1
- package/dist/runtime/type-guards/isRef.d.ts +1 -1
- package/dist/runtime/type-guards/isRef.d.ts.map +1 -1
- package/dist/runtime/type-guards/isTruthy.js +1 -1
- package/dist/runtime/type-guards/isTypeToken.js +1 -1
- package/dist/runtime/type-guards/runtime-type-guards.js +1 -1
- package/dist/types/base-types/AnyFunction.d.ts.map +1 -1
- package/dist/types/base-types/Container.d.ts.map +1 -1
- package/dist/types/base-types/CouldHaveValue.d.ts.map +1 -1
- package/dist/types/base-types/Digital.d.ts.map +1 -1
- package/dist/types/base-types/Indexable.d.ts.map +1 -1
- package/dist/types/base-types/IndexableObject.d.ts.map +1 -1
- package/dist/types/base-types/IndexedObject.d.ts.map +1 -1
- package/dist/types/base-types/NarrowObject.d.ts.map +1 -1
- package/dist/types/base-types/Tuple.d.ts.map +1 -1
- package/dist/types/base-types/fns/NarrowingFn.d.ts +1 -1
- package/dist/types/base-types/fns/NarrowingFn.d.ts.map +1 -1
- package/dist/types/base-types/fns/index.js +3 -3
- package/dist/types/base-types/functional/index.js +1 -1
- package/dist/types/base-types/index.js +24 -24
- package/dist/types/boolean-logic/branching/IfAllExtend.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfAllLiteral.d.ts +1 -2
- package/dist/types/boolean-logic/branching/IfAllLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfAnd.d.ts +5 -2
- package/dist/types/boolean-logic/branching/IfAnd.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfArray.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfBoolean.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfBooleanLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfChar.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfContainer.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfContains.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfDotPath.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfEmptyObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfEqual.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfErrorCondition.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfExtends.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfExtendsAll.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfExtendsSome.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfFalse.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfFalsy.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfFnWithParams.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfFnWithoutParams.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfFunction.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfGreaterThan.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfHasCharacters.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfLength.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfLessThan.d.ts +10 -0
- package/dist/types/boolean-logic/branching/IfLessThan.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/IfLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfMaybeFalse.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfMaybeTrue.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfNarrowlyContains.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfNegativeNumber.d.ts +10 -0
- package/dist/types/boolean-logic/branching/IfNegativeNumber.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/IfNever.d.ts +1 -1
- package/dist/types/boolean-logic/branching/IfNever.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfNotEqual.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfNotLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfNotNever.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfNotTuple.d.ts +8 -0
- package/dist/types/boolean-logic/branching/IfNotTuple.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/IfNull.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfNumber.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfNumericLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfObjectLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfOptionalScalar.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfOr.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfPositive.d.ts +10 -0
- package/dist/types/boolean-logic/branching/IfPositive.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/IfReadonlyArray.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfReadonlyObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfRef.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfReturns.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfScalar.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfSingularNoun.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfSomeEqual.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfSomeExtend.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfSomeTruthy.d.ts +1 -2
- package/dist/types/boolean-logic/branching/IfSomeTruthy.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfStartsWith.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfString.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfStringLiteral.d.ts +13 -2
- package/dist/types/boolean-logic/branching/IfStringLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfSymbol.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfTrue.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfTruthy.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfTuple.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfUndefined.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfUnion.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfValidDotPath.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfWide.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/index.d.ts +3 -0
- package/dist/types/boolean-logic/branching/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/index.js +69 -66
- package/dist/types/boolean-logic/combinators/And.d.ts.map +1 -1
- package/dist/types/boolean-logic/combinators/Not.d.ts +7 -6
- package/dist/types/boolean-logic/combinators/Not.d.ts.map +1 -1
- package/dist/types/boolean-logic/combinators/Or.d.ts.map +1 -1
- package/dist/types/boolean-logic/combinators/index.js +3 -3
- package/dist/types/boolean-logic/index.js +5 -5
- package/dist/types/boolean-logic/narrowing/index.d.ts +0 -1
- package/dist/types/boolean-logic/narrowing/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/narrowing/index.js +1 -2
- package/dist/types/boolean-logic/operators/AllExtend.d.ts +1 -2
- package/dist/types/boolean-logic/operators/AllExtend.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/Contains.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ContainsAll.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/EndsWith.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ExtendsAll.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ExtendsNone.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ExtendsSome.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasCharacters.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasParameters.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasSameValues.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasUnionType.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/Includes.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsAllLowercase.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsAny.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsAnyEqual.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsBooleanLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsChar.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsContainer.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsDefined.d.ts +7 -0
- package/dist/types/boolean-logic/operators/IsDefined.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsDefined.js +1 -0
- package/dist/types/boolean-logic/operators/IsDotPath.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsEmptyObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsErrorCondition.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsFalse.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsFalsy.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsFnWithParams.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsFunction.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsGreaterThan.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsLength.d.ts +1 -2
- package/dist/types/boolean-logic/operators/IsLength.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsMaybeTrue.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts +5 -4
- package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsNotEqual.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsNumericLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsObjectLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsOptionalScalar.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsOptionalScalar.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsRef.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsScalar.d.ts +7 -3
- package/dist/types/boolean-logic/operators/IsScalar.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsSingularNoun.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsStringLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsTrue.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsTruthy.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsTuple.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsTuple.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsUnion.d.ts +1 -1
- package/dist/types/boolean-logic/operators/IsUnion.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsValidDotPath.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsValidKey.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsWideType.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/NarrowlyContains.d.ts +1 -2
- package/dist/types/boolean-logic/operators/NarrowlyContains.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/NotCharacters.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/NotEqual.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/NotLength.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/Returns.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ReturnsBoolean.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ReturnsFalse.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ReturnsTrue.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/SomeEqual.d.ts +1 -2
- package/dist/types/boolean-logic/operators/SomeEqual.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/SomeExtend.d.ts +2 -3
- package/dist/types/boolean-logic/operators/SomeExtend.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/StartsWith.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/index.d.ts +1 -0
- package/dist/types/boolean-logic/operators/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/index.js +75 -74
- package/dist/types/classes/index.js +1 -1
- package/dist/types/containers/WithKey.d.ts +16 -6
- package/dist/types/containers/WithKey.d.ts.map +1 -1
- package/dist/types/containers/index.js +3 -3
- package/dist/types/dictionary/AddKeyValue.d.ts.map +1 -1
- package/dist/types/dictionary/CombinedKeys.d.ts +19 -0
- package/dist/types/dictionary/CombinedKeys.d.ts.map +1 -0
- package/dist/types/dictionary/CombinedKeys.js +1 -0
- package/dist/types/dictionary/DictChangeValue.d.ts.map +1 -1
- package/dist/types/dictionary/ExplicitKeys.d.ts.map +1 -1
- package/dist/types/dictionary/FromMaybeRef.d.ts.map +1 -1
- package/dist/types/dictionary/Keys.d.ts +1 -1
- package/dist/types/dictionary/Keys.d.ts.map +1 -1
- package/dist/types/dictionary/KeysEqualValue.d.ts.map +1 -1
- package/dist/types/dictionary/KeysNotEqualValue.d.ts.map +1 -1
- package/dist/types/dictionary/KeysWithValue.d.ts +2 -2
- package/dist/types/dictionary/KeysWithValue.d.ts.map +1 -1
- package/dist/types/dictionary/KeysWithoutValue.d.ts.map +1 -1
- package/dist/types/dictionary/MapTo.d.ts.map +1 -1
- package/dist/types/dictionary/MaybeRef.d.ts.map +1 -1
- package/dist/types/dictionary/MutableProps.d.ts.map +1 -1
- package/dist/types/dictionary/NonStringKeys.d.ts +1 -1
- package/dist/types/dictionary/NonStringKeys.d.ts.map +1 -1
- package/dist/types/dictionary/OptionalProps.d.ts.map +1 -1
- package/dist/types/dictionary/PrivateKeys.d.ts.map +1 -1
- package/dist/types/dictionary/ReadonlyProps.d.ts.map +1 -1
- package/dist/types/dictionary/RemoveIndexKeys.d.ts +2 -2
- package/dist/types/dictionary/RemoveIndexKeys.d.ts.map +1 -1
- package/dist/types/dictionary/RequireProps.d.ts.map +1 -1
- package/dist/types/dictionary/RequiredKeys.d.ts.map +1 -1
- package/dist/types/dictionary/RequiredProps.d.ts.map +1 -1
- package/dist/types/dictionary/SharedKeys.d.ts.map +1 -1
- package/dist/types/dictionary/SimplifyObject.d.ts.map +1 -1
- package/dist/types/dictionary/UpsertKeyValue.d.ts.map +1 -1
- package/dist/types/dictionary/ValidKey.d.ts.map +1 -1
- package/dist/types/dictionary/WithKeys.d.ts.map +1 -1
- package/dist/types/dictionary/WithNumericKeys.d.ts.map +1 -1
- package/dist/types/dictionary/WithStringKeys.d.ts.map +1 -1
- package/dist/types/dictionary/WithValue.d.ts +4 -2
- package/dist/types/dictionary/WithValue.d.ts.map +1 -1
- package/dist/types/dictionary/WithoutKeys.d.ts.map +1 -1
- package/dist/types/dictionary/WithoutValue.d.ts.map +1 -1
- package/dist/types/dictionary/index.d.ts +1 -0
- package/dist/types/dictionary/index.d.ts.map +1 -1
- package/dist/types/dictionary/index.js +41 -40
- package/dist/types/errors/ErrorConditionHandler.d.ts.map +1 -1
- package/dist/types/errors/ReportError.d.ts.map +1 -1
- package/dist/types/errors/index.js +4 -4
- package/dist/types/functional/Left.d.ts.map +1 -1
- package/dist/types/functional/Right.d.ts.map +1 -1
- package/dist/types/functional/index.js +2 -2
- package/dist/types/functions/AsFnMeta.d.ts.map +1 -1
- package/dist/types/functions/FnMeta.d.ts.map +1 -1
- package/dist/types/functions/FnProps.d.ts.map +1 -1
- package/dist/types/functions/PromiseAll.d.ts.map +1 -1
- package/dist/types/functions/RemoveFnProps.d.ts.map +1 -1
- package/dist/types/functions/ToFn.d.ts.map +1 -1
- package/dist/types/functions/TypeGuard.d.ts.map +1 -1
- package/dist/types/functions/index.js +9 -9
- package/dist/types/index.js +17 -17
- package/dist/types/kv/KeyValue.d.ts.map +1 -1
- package/dist/types/kv/index.js +4 -4
- package/dist/types/lists/AfterFirst.d.ts.map +1 -1
- package/dist/types/lists/ArrayElementType.d.ts +1 -2
- package/dist/types/lists/ArrayElementType.d.ts.map +1 -1
- package/dist/types/lists/AsArray.d.ts +0 -2
- package/dist/types/lists/AsArray.d.ts.map +1 -1
- package/dist/types/lists/AsTuple.d.ts +12 -0
- package/dist/types/lists/AsTuple.d.ts.map +1 -0
- package/dist/types/lists/AsTuple.js +1 -0
- package/dist/types/lists/BeforeLast.d.ts.map +1 -1
- package/dist/types/lists/ConvertAndMap.d.ts.map +1 -1
- package/dist/types/lists/ConvertSet.d.ts.map +1 -1
- package/dist/types/lists/Filter.d.ts.map +1 -1
- package/dist/types/lists/Find.d.ts.map +1 -1
- package/dist/types/lists/First.d.ts +1 -2
- package/dist/types/lists/First.d.ts.map +1 -1
- package/dist/types/lists/FirstOrElse.d.ts.map +1 -1
- package/dist/types/lists/Flatten.d.ts +1 -2
- package/dist/types/lists/Flatten.d.ts.map +1 -1
- package/dist/types/lists/GetEach.d.ts.map +1 -1
- package/dist/types/lists/IndexOf.d.ts.map +1 -1
- package/dist/types/lists/IntersectAll.d.ts.map +1 -1
- package/dist/types/lists/Last.d.ts.map +1 -1
- package/dist/types/lists/Length.d.ts +2 -2
- package/dist/types/lists/Length.d.ts.map +1 -1
- package/dist/types/lists/NumericKeys.d.ts.map +1 -1
- package/dist/types/lists/Pop.d.ts.map +1 -1
- package/dist/types/lists/ReplaceLast.d.ts.map +1 -1
- package/dist/types/lists/Retain.d.ts.map +1 -1
- package/dist/types/lists/ReturnTypes.d.ts.map +1 -1
- package/dist/types/lists/Reverse.d.ts.map +1 -1
- package/dist/types/lists/Shift.d.ts.map +1 -1
- package/dist/types/lists/TruthyReturns.d.ts.map +1 -1
- package/dist/types/lists/UnionFromProp.d.ts.map +1 -1
- package/dist/types/lists/extractors/2nd-order/RemoveEquals.d.ts.map +1 -1
- package/dist/types/lists/extractors/2nd-order/RemoveErrors.d.ts.map +1 -1
- package/dist/types/lists/extractors/2nd-order/RemoveExtends.d.ts.map +1 -1
- package/dist/types/lists/extractors/2nd-order/RemoveNever.d.ts.map +1 -1
- package/dist/types/lists/extractors/2nd-order/RemoveNotExtends.d.ts.map +1 -1
- package/dist/types/lists/extractors/2nd-order/RemoveStrings.d.ts.map +1 -1
- package/dist/types/lists/extractors/2nd-order/RetainEquals.d.ts.map +1 -1
- package/dist/types/lists/extractors/2nd-order/RetainExtends.d.ts.map +1 -1
- package/dist/types/lists/extractors/2nd-order/RetainNotExtends.d.ts.map +1 -1
- package/dist/types/lists/extractors/2nd-order/RetainStrings.d.ts.map +1 -1
- package/dist/types/lists/extractors/2nd-order/index.js +10 -10
- package/dist/types/lists/extractors/RemoveFromList.d.ts.map +1 -1
- package/dist/types/lists/extractors/RetainFromList.d.ts.map +1 -1
- package/dist/types/lists/extractors/index.js +4 -4
- package/dist/types/lists/index.d.ts +1 -0
- package/dist/types/lists/index.d.ts.map +1 -1
- package/dist/types/lists/index.js +33 -32
- package/dist/types/literals/Box.d.ts.map +1 -1
- package/dist/types/literals/Color.d.ts.map +1 -1
- package/dist/types/literals/ContainerBlockKey.d.ts.map +1 -1
- package/dist/types/literals/ContainerKeyGuarantee.d.ts.map +1 -1
- package/dist/types/literals/ExpandRecursively.d.ts.map +1 -1
- package/dist/types/literals/index.js +10 -10
- package/dist/types/numeric-literals/Abs.d.ts +2 -2
- package/dist/types/numeric-literals/Abs.d.ts.map +1 -1
- package/dist/types/numeric-literals/AbsMaybe.d.ts.map +1 -1
- package/dist/types/numeric-literals/Add.d.ts +77 -0
- package/dist/types/numeric-literals/Add.d.ts.map +1 -0
- package/dist/types/numeric-literals/Add.js +1 -0
- package/dist/types/numeric-literals/AsNumberWhenPossible.d.ts.map +1 -1
- package/dist/types/numeric-literals/Decrement.d.ts.map +1 -1
- package/dist/types/numeric-literals/Digit.d.ts.map +1 -1
- package/dist/types/numeric-literals/DigitNonZero.d.ts.map +1 -1
- package/dist/types/numeric-literals/Digitize.d.ts.map +1 -1
- package/dist/types/numeric-literals/Float.d.ts.map +1 -1
- package/dist/types/numeric-literals/Increment.d.ts.map +1 -1
- package/dist/types/numeric-literals/Negative.d.ts.map +1 -1
- package/dist/types/numeric-literals/NextDigit.d.ts.map +1 -1
- package/dist/types/numeric-literals/NumberLike.d.ts +8 -0
- package/dist/types/numeric-literals/NumberLike.d.ts.map +1 -0
- package/dist/types/numeric-literals/NumberLike.js +1 -0
- package/dist/types/numeric-literals/NumericRange.d.ts +1 -1
- package/dist/types/numeric-literals/NumericRange.d.ts.map +1 -1
- package/dist/types/numeric-literals/PriorDigit.d.ts.map +1 -1
- package/dist/types/numeric-literals/Subtract.d.ts +3 -1
- package/dist/types/numeric-literals/Subtract.d.ts.map +1 -1
- package/dist/types/numeric-literals/ToInteger.d.ts.map +1 -1
- package/dist/types/numeric-literals/index.d.ts +14 -11
- package/dist/types/numeric-literals/index.d.ts.map +1 -1
- package/dist/types/numeric-literals/index.js +23 -19
- package/dist/types/runtime-types/DescribeType.d.ts.map +1 -1
- package/dist/types/runtime-types/FromLiteralTokens.d.ts.map +1 -1
- package/dist/types/runtime-types/LiteralType.d.ts.map +1 -1
- package/dist/types/runtime-types/StringLiteralToken.d.ts.map +1 -1
- package/dist/types/runtime-types/TokenizeStringLiteral.d.ts.map +1 -1
- package/dist/types/runtime-types/Type.d.ts.map +1 -1
- package/dist/types/runtime-types/TypeOf.d.ts.map +1 -1
- package/dist/types/runtime-types/TypeToken.d.ts.map +1 -1
- package/dist/types/runtime-types/TypeTuple.d.ts.map +1 -1
- package/dist/types/runtime-types/api/boolean.d.ts.map +1 -1
- package/dist/types/runtime-types/api/number.d.ts.map +1 -1
- package/dist/types/runtime-types/api/string.d.ts.map +1 -1
- package/dist/types/runtime-types/api/stringLiteral.d.ts.map +1 -1
- package/dist/types/runtime-types/index.js +10 -10
- package/dist/types/sets/AllKeys.d.ts.map +1 -1
- package/dist/types/sets/Dedupe.d.ts.map +1 -1
- package/dist/types/sets/IntersectingKeys.d.ts.map +1 -1
- package/dist/types/sets/Intersection.d.ts.map +1 -1
- package/dist/types/sets/Relate.d.ts.map +1 -1
- package/dist/types/sets/SetCandidate.d.ts.map +1 -1
- package/dist/types/sets/SetRemoval.d.ts.map +1 -1
- package/dist/types/sets/Unique.d.ts +12 -1
- package/dist/types/sets/Unique.d.ts.map +1 -1
- package/dist/types/sets/UniqueKeys.d.ts.map +1 -1
- package/dist/types/sets/UniqueKeysUnion.d.ts.map +1 -1
- package/dist/types/sets/UniqueKv.d.ts.map +1 -1
- package/dist/types/sets/index.js +11 -11
- package/dist/types/string-literals/Cardinality.d.ts +2 -2
- package/dist/types/string-literals/Cardinality.d.ts.map +1 -1
- package/dist/types/string-literals/Chars.d.ts +2 -2
- package/dist/types/string-literals/Chars.d.ts.map +1 -1
- package/dist/types/string-literals/Concat.d.ts.map +1 -1
- package/dist/types/string-literals/Date.d.ts.map +1 -1
- package/dist/types/string-literals/DateTime.d.ts.map +1 -1
- package/dist/types/string-literals/DropChars.d.ts.map +1 -1
- package/dist/types/string-literals/EmptyStringOr.d.ts.map +1 -1
- package/dist/types/string-literals/EnsureLeading.d.ts.map +1 -1
- package/dist/types/string-literals/EnsureLeadingEvery.d.ts.map +1 -1
- package/dist/types/string-literals/EnsureTrailing.d.ts.map +1 -1
- package/dist/types/string-literals/FirstChar.d.ts.map +1 -1
- package/dist/types/string-literals/HasUppercase.d.ts.map +1 -1
- package/dist/types/string-literals/Join.d.ts.map +1 -1
- package/dist/types/string-literals/LastChar.d.ts.map +1 -1
- package/dist/types/string-literals/PathJoin.d.ts.map +1 -1
- package/dist/types/string-literals/Pluralize.d.ts.map +1 -1
- package/dist/types/string-literals/Prepend.d.ts.map +1 -1
- package/dist/types/string-literals/PrependAll.d.ts.map +1 -1
- package/dist/types/string-literals/RemainingChars.d.ts.map +1 -1
- package/dist/types/string-literals/Repeat.d.ts.map +1 -1
- package/dist/types/string-literals/RetainAfter.d.ts +7 -4
- package/dist/types/string-literals/RetainAfter.d.ts.map +1 -1
- package/dist/types/string-literals/Split.d.ts +10 -7
- package/dist/types/string-literals/Split.d.ts.map +1 -1
- package/dist/types/string-literals/StrLen.d.ts.map +1 -1
- package/dist/types/string-literals/StripAfter.d.ts +2 -2
- package/dist/types/string-literals/StripAfter.d.ts.map +1 -1
- package/dist/types/string-literals/StripBefore.d.ts +18 -0
- package/dist/types/string-literals/StripBefore.d.ts.map +1 -0
- package/dist/types/string-literals/StripBefore.js +1 -0
- package/dist/types/string-literals/StripLeading.d.ts.map +1 -1
- package/dist/types/string-literals/StripTrailing.d.ts.map +1 -1
- package/dist/types/string-literals/Suggest.d.ts.map +1 -1
- package/dist/types/string-literals/Time.d.ts.map +1 -1
- package/dist/types/string-literals/Truncate.d.ts.map +1 -1
- package/dist/types/string-literals/casing/AllCaps.d.ts +3 -3
- package/dist/types/string-literals/casing/AllCaps.d.ts.map +1 -1
- package/dist/types/string-literals/casing/CamelCase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/CapFirstAlpha.d.ts.map +1 -1
- package/dist/types/string-literals/casing/DashUppercase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/KebabCase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/LowerAllCaps.d.ts.map +1 -1
- package/dist/types/string-literals/casing/PascalCase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/RaiseAllLowercase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/SnakeCase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/index.js +12 -12
- package/dist/types/string-literals/character-sets/Alpha.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/AlphaChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/AlphaNumeric.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/CSV.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Consonants.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/DomainName.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/DotPath.d.ts +1 -1
- package/dist/types/string-literals/character-sets/DotPath.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/DotPathFor.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Hexadecimal.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/IpAddress.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/LowerAlpha.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/LowerAlphaChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/NonAlpha.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/NumericChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/SingularNoun.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/UpperAlphaChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/ValueAtDotPath.d.ts +1 -1
- package/dist/types/string-literals/character-sets/ValueAtDotPath.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/brackets/index.js +3 -3
- package/dist/types/string-literals/character-sets/index.js +26 -26
- package/dist/types/string-literals/character-sets/quotation-marks/index.js +6 -6
- package/dist/types/string-literals/index.d.ts +1 -2
- package/dist/types/string-literals/index.d.ts.map +1 -1
- package/dist/types/string-literals/index.js +36 -37
- package/dist/types/string-literals/options/index.js +2 -2
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/tuples/FirstKey.d.ts.map +1 -1
- package/dist/types/tuples/FirstKeyValue.d.ts +1 -1
- package/dist/types/tuples/FirstKeyValue.d.ts.map +1 -1
- package/dist/types/tuples/FromDictArray.d.ts.map +1 -1
- package/dist/types/tuples/LastOfEach.d.ts +14 -0
- package/dist/types/tuples/LastOfEach.d.ts.map +1 -0
- package/dist/types/tuples/LastOfEach.js +1 -0
- package/dist/types/tuples/index.js +7 -7
- package/dist/types/type-conversion/ArrConcat.d.ts.map +1 -1
- package/dist/types/type-conversion/AsBoolean.d.ts +7 -0
- package/dist/types/type-conversion/AsBoolean.d.ts.map +1 -0
- package/dist/types/type-conversion/AsBoolean.js +1 -0
- package/dist/types/type-conversion/AsFunction.d.ts.map +1 -1
- package/dist/types/type-conversion/AsNumber.d.ts +10 -3
- package/dist/types/type-conversion/AsNumber.d.ts.map +1 -1
- package/dist/types/type-conversion/AsPropertyKey.d.ts +13 -0
- package/dist/types/type-conversion/AsPropertyKey.d.ts.map +1 -0
- package/dist/types/type-conversion/AsPropertyKey.js +1 -0
- package/dist/types/type-conversion/AsString.d.ts +5 -1
- package/dist/types/type-conversion/AsString.d.ts.map +1 -1
- package/dist/types/type-conversion/IntersectWithAll.d.ts.map +1 -1
- package/dist/types/type-conversion/MergeObjects.d.ts +3 -6
- package/dist/types/type-conversion/MergeObjects.d.ts.map +1 -1
- package/dist/types/type-conversion/ObjValues.d.ts +10 -9
- package/dist/types/type-conversion/ObjValues.d.ts.map +1 -1
- package/dist/types/type-conversion/ObjectToKvDict.d.ts +7 -10
- package/dist/types/type-conversion/ObjectToKvDict.d.ts.map +1 -1
- package/dist/types/type-conversion/ReplaceAll.d.ts +1 -1
- package/dist/types/type-conversion/ReplaceAll.d.ts.map +1 -1
- package/dist/types/type-conversion/ReturnValues.d.ts.map +1 -1
- package/dist/types/type-conversion/ToBoolean.d.ts.map +1 -1
- package/dist/types/type-conversion/ToContainer.d.ts.map +1 -1
- package/dist/types/type-conversion/ToNumber.d.ts.map +1 -1
- package/dist/types/type-conversion/ToString.d.ts.map +1 -1
- package/dist/types/type-conversion/Trim.d.ts.map +1 -1
- package/dist/types/type-conversion/TrimLeft.d.ts.map +1 -1
- package/dist/types/type-conversion/TrimRight.d.ts.map +1 -1
- package/dist/types/type-conversion/TupleToUnion.d.ts.map +1 -1
- package/dist/types/type-conversion/UnionToTuple.d.ts +10 -6
- package/dist/types/type-conversion/UnionToTuple.d.ts.map +1 -1
- package/dist/types/type-conversion/UnionToTuple.js +0 -1
- package/dist/types/type-conversion/ValueOrReturnValue.d.ts.map +1 -1
- package/dist/types/type-conversion/Widen.d.ts.map +1 -1
- package/dist/types/type-conversion/WidenProps.d.ts.map +1 -1
- package/dist/types/type-conversion/WithDefault.d.ts.map +1 -1
- package/dist/types/type-conversion/form-fields.d.ts.map +1 -1
- package/dist/types/type-conversion/index.d.ts +2 -0
- package/dist/types/type-conversion/index.d.ts.map +1 -1
- package/dist/types/type-conversion/index.js +40 -38
- package/package.json +6 -5
- package/dist/runtime/dictionary/strArrayToDict.d.ts +0 -7
- package/dist/runtime/dictionary/strArrayToDict.d.ts.map +0 -1
- package/dist/runtime/dictionary/strArrayToDict.js +0 -10
- package/dist/runtime/dictionary/withValue.d.ts +0 -26
- package/dist/runtime/dictionary/withValue.d.ts.map +0 -1
- package/dist/runtime/dictionary/withValue.js +0 -21
- package/dist/runtime/runtime-types/extractTypeToken.d.ts +0 -2
- package/dist/runtime/runtime-types/extractTypeToken.d.ts.map +0 -1
- package/dist/runtime/runtime-types/extractTypeToken.js +0 -11
- package/dist/runtime/type-guards/isSameType.d.ts +0 -10
- package/dist/runtime/type-guards/isSameType.d.ts.map +0 -1
- package/dist/runtime/type-guards/isSameType.js +0 -64
- package/dist/types/boolean-logic/combinators/FirstIdx.d.ts +0 -11
- package/dist/types/boolean-logic/combinators/FirstIdx.d.ts.map +0 -1
- package/dist/types/boolean-logic/narrowing/AsPropertyKey.d.ts +0 -21
- package/dist/types/boolean-logic/narrowing/AsPropertyKey.d.ts.map +0 -1
- package/dist/types/string-literals/CaseInsensitive.d.ts +0 -30
- package/dist/types/string-literals/CaseInsensitive.d.ts.map +0 -1
- package/dist/types/string-literals/Interpolate.d.ts +0 -15
- package/dist/types/string-literals/Interpolate.d.ts.map +0 -1
- /package/dist/types/boolean-logic/{combinators/FirstIdx.js → branching/IfLessThan.js} +0 -0
- /package/dist/types/boolean-logic/{narrowing/AsPropertyKey.js → branching/IfNegativeNumber.js} +0 -0
- /package/dist/types/{string-literals/CaseInsensitive.js → boolean-logic/branching/IfNotTuple.js} +0 -0
- /package/dist/types/{string-literals/Interpolate.js → boolean-logic/branching/IfPositive.js} +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Chars, First, IfLiteral, NumberLike } from "../..";
|
|
2
|
+
/**
|
|
3
|
+
* **IfNegative**`<TVal,TIf,[TElse]>`
|
|
4
|
+
*
|
|
5
|
+
* Branching utility which return `TIf` when `TVal` is _less than_ 0.
|
|
6
|
+
*
|
|
7
|
+
* **Related:** `IfLessThan`
|
|
8
|
+
*/
|
|
9
|
+
export type IfNegativeNumber<TVal extends NumberLike, TIf, TElse = TVal> = IfLiteral<TVal, First<Chars<`${TVal}`>> extends "-" ? TIf : TElse, TIf | TElse>;
|
|
10
|
+
//# sourceMappingURL=IfNegativeNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IfNegativeNumber.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNegativeNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAG,KAAK,EAAE,KAAK,EAAE,SAAS,EAAG,UAAU,EAAE,cAAkB;AAElE;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,CAC1B,IAAI,SAAS,UAAU,EACvB,GAAG,EACH,KAAK,GAAG,IAAI,IACV,SAAS,CACX,IAAI,EACJ,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,SAAS,GAAG,GACjC,GAAG,GACH,KAAK,EACP,GAAG,GAAG,KAAK,CACZ,CAAC"}
|
|
@@ -5,5 +5,5 @@ import { IsNever } from "../..";
|
|
|
5
5
|
* Type utility which transforms type `T` based on whether it extends the _never_
|
|
6
6
|
* type.
|
|
7
7
|
*/
|
|
8
|
-
export type IfNever<T, IF, ELSE> = IsNever<T> extends true ? IF : ELSE;
|
|
8
|
+
export type IfNever<T, IF, ELSE = T> = IsNever<T> extends true ? IF : ELSE;
|
|
9
9
|
//# sourceMappingURL=IfNever.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfNever.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNever.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"IfNever.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNever.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,cAAkB;AAEpC;;;;;GAKG;AACH,MAAM,MAAM,OAAO,CACjB,CAAC,EACD,EAAE,EACF,IAAI,GAAG,CAAC,IACN,OAAO,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfNotEqual.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNotEqual.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"IfNotEqual.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNotEqual.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAkB;AAE5C;;;;;GAKG;AACH,MAAM,MAAM,UAAU,CACpB,CAAC,EACD,CAAC,EACD,EAAE,EACF,IAAI,IACF,UAAU,CAAC,CAAC,EAAC,CAAC,CAAC,SAAS,IAAI,GAC5B,EAAE,GACF,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfNotLiteral.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNotLiteral.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"IfNotLiteral.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNotLiteral.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,cAAkB;AAEtC;;;;GAIG;AACH,MAAM,MAAM,YAAY,CACtB,CAAC,EACD,EAAE,EACF,IAAI,IACF,SAAS,CAAC,CAAC,CAAC,SAAS,KAAK,GAC1B,EAAE,GACF,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfNotNever.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNotNever.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"IfNotNever.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNotNever.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,cAAkB;AAEpC;;;;GAIG;AACH,MAAM,MAAM,UAAU,CACpB,CAAC,EACD,EAAE,GAAG,CAAC,EACN,IAAI,GAAG,KAAK,IACV,OAAO,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,IAAI,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IsTuple, Tuple } from "../..";
|
|
2
|
+
/**
|
|
3
|
+
* **IfNotTuple**`<T,[TIf],[TElse]>`
|
|
4
|
+
*
|
|
5
|
+
* Branching utility based on whether `T` is a Tuple.
|
|
6
|
+
*/
|
|
7
|
+
export type IfNotTuple<T, TIf = Exclude<T, Tuple>, TElse = T & Tuple> = IsTuple<T> extends true ? TIf : TElse;
|
|
8
|
+
//# sourceMappingURL=IfNotTuple.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IfNotTuple.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNotTuple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,cAAkB;AAE3C;;;;GAIG;AACH,MAAM,MAAM,UAAU,CACpB,CAAC,EACD,GAAG,GAAG,OAAO,CAAC,CAAC,EAAE,KAAK,CAAC,EACvB,KAAK,GAAG,CAAC,GAAG,KAAK,IACf,OAAO,CAAC,CAAC,CAAC,SAAS,IAAI,GACzB,GAAG,GACH,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfNull.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNull.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"IfNull.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNull.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAkB;AAEnC;;;;;GAKG;AACH,MAAM,MAAM,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,IAAI,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfNumber.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"IfNumber.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAkB;AACrC;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,IAAI,QAAQ,CAAC,CAAC,CAAC,SAAS,IAAI,GACxD,EAAE,GACF,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfNumericLiteral.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNumericLiteral.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"IfNumericLiteral.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfNumericLiteral.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,cAAkB;AAE7C;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,CAC1B,CAAC,EACD,EAAE,EACF,IAAI,IACF,gBAAgB,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfObject.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"IfObject.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAkB;AAErC;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,IAAI,QAAQ,CAAC,CAAC,CAAC,SAAS,IAAI,GACxD,EAAE,GACF,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfObjectLiteral.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfObjectLiteral.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"IfObjectLiteral.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfObjectLiteral.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAkB;AAE5C;;;;;GAKG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,IAAI,eAAe,CAAC,CAAC,CAAC,SAAS,IAAI,GACxE,EAAE,GACF,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfOptionalScalar.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfOptionalScalar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"IfOptionalScalar.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfOptionalScalar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAkB;AAErC;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,CAC1B,CAAC,EACD,EAAE,EACF,IAAI,IACF,QAAQ,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfOr.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfOr.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"IfOr.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfOr.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,cAAkB;AAG9C;;;;;;;;GAQG;AACH,MAAM,MAAM,IAAI,CACd,WAAW,SAAS,CAAC,SAAS,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,GAC/D,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,EAAE,EACxC,EAAE,EACF,IAAI,EACJ,OAAO,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,IACrC,EAAE,CAAC,SAAS,CAAC,GAAG,WAAW,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LessThan } from "../../numeric-literals/LessThan";
|
|
2
|
+
/**
|
|
3
|
+
* **IfPositive**`<TVal,TIf,[TElse]>`
|
|
4
|
+
*
|
|
5
|
+
* Branching utility which return `TIf` when `TVal` is _greater than or equal_ to 0.
|
|
6
|
+
*
|
|
7
|
+
* **Related:** `IfLessThan`
|
|
8
|
+
*/
|
|
9
|
+
export type IfPositive<TVal extends number, TIf, TElse extends TVal> = LessThan<TVal, 0> extends true ? TElse : TIf;
|
|
10
|
+
//# sourceMappingURL=IfPositive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IfPositive.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfPositive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,wCAA4C;AAE/D;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,CACpB,IAAI,SAAS,MAAM,EACnB,GAAG,EACH,KAAK,SAAS,IAAI,IAChB,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,SAAS,IAAI,GAChC,KAAK,GACL,GAAG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfReadonlyArray.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfReadonlyArray.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"IfReadonlyArray.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfReadonlyArray.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAkB;AAE5C;;;;GAIG;AACH,MAAM,MAAM,eAAe,CACzB,CAAC,EACD,EAAE,EACF,IAAI,IACF,eAAe,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfReadonlyObject.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfReadonlyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"IfReadonlyObject.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfReadonlyObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,cAAkB;AAE7C,MAAM,MAAM,gBAAgB,CAC1B,CAAC,EACD,EAAE,EACF,IAAI,IACF,gBAAgB,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfRef.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfRef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"IfRef.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfRef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,cAAkB;AAElC;;;;;GAKG;AACH,MAAM,MAAM,KAAK,CACf,CAAC,EACD,EAAE,EACF,IAAI,EACJ,KAAK,GAAG,EAAE,GAAG,IAAI,IACf,KAAK,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,KAAK,CAAC,CAAC,CAAC,SAAS,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfReturns.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfReturns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"IfReturns.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfReturns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAkB;AAIxC;;;;;GAKG;AACH,MAAM,MAAM,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,IAAI,GAAG,SAAS,WAAW,GACrE,UAAU,CAAC,GAAG,CAAC,SAAS,SAAS,GAC/B,EAAE,GACF,IAAI,GACN,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfScalar.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfScalar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"IfScalar.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfScalar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAkB;AAErC;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,CAClB,CAAC,EACD,EAAE,EACF,IAAI,IACF,QAAQ,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfSingularNoun.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfSingularNoun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"IfSingularNoun.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfSingularNoun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,cAAkB;AAE5D;;;;GAIG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,GAAG,EAAE,GAAG,IAAI,IACzD,MAAM,CACJ,cAAc,CAAC,CAAC,CAAC,EACjB,EAAE,EACF,OAAO,CACL,cAAc,CAAC,CAAC,CAAC,EACjB,IAAI,EACJ,KAAK,CACN,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfSomeEqual.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfSomeEqual.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"IfSomeEqual.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfSomeEqual.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,cAAkB;AAEtC;;;;;GAKG;AACH,MAAM,MAAM,WAAW,CACrB,KAAK,EACL,SAAS,SAAS,SAAS,OAAO,EAAE,EACpC,EAAE,EACF,IAAI,IACF,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfSomeExtend.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfSomeExtend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"IfSomeExtend.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfSomeExtend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAkB;AAEvC;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,CACtB,KAAK,SAAS,SAAS,OAAO,EAAE,EAChC,OAAO,EACP,EAAE,EACF,IAAI,IACF,UAAU,CAAC,KAAK,EAAC,OAAO,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfSomeTruthy.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfSomeTruthy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"IfSomeTruthy.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfSomeTruthy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAG,MAAM,EAAG,QAAQ,EAAE,cAAkB;AAElE;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,CACtB,OAAO,SAAS,SAAS,OAAO,EAAE,EAClC,EAAE,EACF,IAAI,EACJ,KAAK,GAAG,OAAO,EACf,SAAS,SAAS,OAAO,GAAG,KAAK,IAEnC;CAAE,SAAS,OAAO,GACd,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,GAC9B,QAAQ,CACR,KAAK,CAAC,OAAO,CAAC,EACd,IAAI,EACJ,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,EAC7D,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,CACzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfStartsWith.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfStartsWith.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAG,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"IfStartsWith.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfStartsWith.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAG,UAAU,EAAE,cAAkB;AAElD;;;;;;;;;GASG;AACH,MAAM,MAAM,YAAY,CACtB,MAAM,EACN,WAAW,EACX,EAAE,EACF,IAAI,IACF,WAAW,SAAS,MAAM,GAEtB,UAAU,CAAC,MAAM,EAAE,WAAW,CAAC,SAAS,IAAI,GAC1C,EAAE,GACF,UAAU,CAAC,MAAM,EAAE,WAAW,CAAC,SAAS,KAAK,GAC7C,IAAI,GACJ,EAAE,GAAG,IAAI,GAEX,WAAW,SAAS,MAAM,GACtB,MAAM,SAAS,WAAW,GACxB,KAAK,GACL,YAAY,CAAC,MAAM,EAAE,QAAQ,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,GACvD,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfString.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfString.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"IfString.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfString.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAkB;AAErC;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,CAClB,CAAC,EAAE,EAAE;AACL,IAAI,EACJ,KAAK,IACH,QAAQ,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
import { IsStringLiteral } from "../..";
|
|
1
|
+
import { IfNever, IsStringLiteral } from "../..";
|
|
2
2
|
/**
|
|
3
3
|
* **IfStringLiteral**
|
|
4
4
|
*
|
|
5
5
|
* Branch utility which returns `IF` type when `T` is a string
|
|
6
6
|
* literal and `ELSE` otherwise
|
|
7
7
|
*/
|
|
8
|
-
export type IfStringLiteral<T, IF, ELSE> =
|
|
8
|
+
export type IfStringLiteral<T, IF = T, ELSE = T> = IfNever<T, ELSE, [
|
|
9
|
+
IsStringLiteral<T>
|
|
10
|
+
] extends [true] ? IF : ELSE>;
|
|
11
|
+
/**
|
|
12
|
+
* **IfNotStringLiteral**
|
|
13
|
+
*
|
|
14
|
+
* Branch utility which returns `IF` type when `T` is **not** a string
|
|
15
|
+
* literal and `ELSE` otherwise
|
|
16
|
+
*/
|
|
17
|
+
export type IfNotStringLiteral<T, IF = T, ELSE = T> = IfNever<T, IF, [
|
|
18
|
+
IsStringLiteral<T>
|
|
19
|
+
] extends [true] ? ELSE : IF>;
|
|
9
20
|
//# sourceMappingURL=IfStringLiteral.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfStringLiteral.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfStringLiteral.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"IfStringLiteral.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfStringLiteral.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,cAAkB;AAErD;;;;;GAKG;AACH,MAAM,MAAM,eAAe,CACzB,CAAC,EACD,EAAE,GAAG,CAAC,EACN,IAAI,GAAG,CAAC,IACN,OAAO,CACT,CAAC,EACD,IAAI,EACJ;IAAC,eAAe,CAAC,CAAC,CAAC;CAAC,SAAS,CAAC,IAAI,CAAC,GACjC,EAAE,GACF,IAAI,CACP,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,CAC5B,CAAC,EACD,EAAE,GAAG,CAAC,EACN,IAAI,GAAG,CAAC,IACN,OAAO,CACT,CAAC,EACD,EAAE,EACF;IAAC,eAAe,CAAC,CAAC,CAAC;CAAC,SAAS,CAAC,IAAI,CAAC,GAC/B,IAAI,GACJ,EAAE,CACP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfSymbol.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfSymbol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"IfSymbol.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfSymbol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAkB;AAErC;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,IAAI,QAAQ,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfTrue.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfTrue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"IfTrue.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfTrue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAkB;AAEnC;;;;;;;;GAQG;AACH,MAAM,MAAM,MAAM,CAChB,CAAC,EACD,EAAE,GAAG,CAAC,GAAG,IAAI,EACb,IAAI,GAAG,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,IACrB,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfTruthy.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfTruthy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"IfTruthy.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfTruthy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAkB;AAErC;;;;;;;GAOG;AACH,MAAM,MAAM,QAAQ,CAClB,CAAC,EACD,IAAI,EACJ,KAAK,EACL,KAAK,GAAG,OAAO,IACb,QAAQ,CAAC,CAAC,CAAC,SAAS,IAAI,GACxB,IAAI,GACJ,QAAQ,CAAC,CAAC,CAAC,SAAS,KAAK,GACvB,KAAK,GACL,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfTuple.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfTuple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"IfTuple.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfTuple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,cAAkB;AAEpC;;;;;GAKG;AACH,MAAM,MAAM,OAAO,CACjB,CAAC,EACD,EAAE,EACF,IAAI,IACF,OAAO,CAAC,CAAC,CAAC,SAAS,IAAI,GACzB,EAAE,GACF,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfUndefined.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfUndefined.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"IfUndefined.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfUndefined.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,cAAkB;AAEjD;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,CACrB,CAAC,EACD,EAAE,EACF,IAAI,GAAG,CAAC,IACN,OAAO,CACT,CAAC,EACD,KAAK,EACL,WAAW,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CACxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfUnion.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfUnion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"IfUnion.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfUnion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,cAAkB;AAEpC;;;;GAIG;AACH,MAAM,MAAM,OAAO,CACjB,CAAC,EACD,EAAE,EACF,IAAI,IACF,OAAO,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfValidDotPath.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfValidDotPath.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"IfValidDotPath.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfValidDotPath.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAkB;AAE3C;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,CACxB,UAAU,EACV,QAAQ,EACR,EAAE,EACF,IAAI,EACJ,KAAK,GAAG,EAAE,GAAG,IAAI,IACf,cAAc,CAAC,UAAU,EAAC,QAAQ,CAAC,SAAS,IAAI,GAChD,EAAE,GACF,cAAc,CAAC,UAAU,EAAC,QAAQ,CAAC,SAAS,KAAK,GAC/C,IAAI,GACJ,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IfWide.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfWide.ts"],"names":[],"mappings":"AAAA,OAAO,EAAG,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"IfWide.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfWide.ts"],"names":[],"mappings":"AAAA,OAAO,EAAG,SAAS,EAAE,cAAkB;AAEvC;;;;GAIG;AACH,MAAM,MAAM,MAAM,CAChB,CAAC,EAAE,EAAE;AACL,IAAI,EACJ,KAAK,GAAG,CAAC,IACP,SAAS,CACX,CAAC,EACD,KAAK,EACL,IAAI,CACL,CAAC"}
|
|
@@ -9,6 +9,9 @@ export * from "./IfTruthy";
|
|
|
9
9
|
export * from "./IfSomeTruthy";
|
|
10
10
|
export * from "./IfAllExtend";
|
|
11
11
|
export * from "./IfEmptyContainer";
|
|
12
|
+
export * from "./IfLessThan";
|
|
13
|
+
export * from "./IfNegativeNumber";
|
|
14
|
+
export * from "./IfPositive";
|
|
12
15
|
export * from "./IfError";
|
|
13
16
|
export * from "./IfErrorCondition";
|
|
14
17
|
export * from "./IfNotError";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AAEnC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AAEjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAE7B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AAEnC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAG7B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AAEjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAE7B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC"}
|
|
@@ -1,66 +1,69 @@
|
|
|
1
|
-
export * from "./IfAllLiteral";
|
|
2
|
-
export * from "./IfScalar";
|
|
3
|
-
export * from "./IfDefined";
|
|
4
|
-
export * from "./IfOr";
|
|
5
|
-
export * from "./IfOptionalScalar";
|
|
6
|
-
export * from "./IfNull";
|
|
7
|
-
export * from "./IfSymbol";
|
|
8
|
-
export * from "./IfTruthy";
|
|
9
|
-
export * from "./IfSomeTruthy";
|
|
10
|
-
export * from "./IfAllExtend";
|
|
11
|
-
export * from "./IfEmptyContainer";
|
|
12
|
-
export * from "./
|
|
13
|
-
export * from "./
|
|
14
|
-
export * from "./
|
|
15
|
-
export * from "./
|
|
16
|
-
export * from "./
|
|
17
|
-
export * from "./
|
|
18
|
-
export * from "./
|
|
19
|
-
export * from "./
|
|
20
|
-
export * from "./
|
|
21
|
-
export * from "./
|
|
22
|
-
export * from "./
|
|
23
|
-
export * from "./
|
|
24
|
-
export * from "./
|
|
25
|
-
export * from "./
|
|
26
|
-
export * from "./
|
|
27
|
-
export * from "./
|
|
28
|
-
export * from "./
|
|
29
|
-
export * from "./
|
|
30
|
-
export * from "./
|
|
31
|
-
export * from "./
|
|
32
|
-
export * from "./
|
|
33
|
-
export * from "./
|
|
34
|
-
export * from "./
|
|
35
|
-
export * from "./
|
|
36
|
-
export * from "./
|
|
37
|
-
export * from "./
|
|
38
|
-
export * from "./
|
|
39
|
-
export * from "./
|
|
40
|
-
export * from "./
|
|
41
|
-
export * from "./
|
|
42
|
-
export * from "./
|
|
43
|
-
export * from "./
|
|
44
|
-
export * from "./
|
|
45
|
-
export * from "./
|
|
46
|
-
export * from "./
|
|
47
|
-
export * from "./
|
|
48
|
-
export * from "./
|
|
49
|
-
export * from "./
|
|
50
|
-
export * from "./
|
|
51
|
-
export * from "./
|
|
52
|
-
export * from "./
|
|
53
|
-
export * from "./
|
|
54
|
-
export * from "./
|
|
55
|
-
export * from "./
|
|
56
|
-
export * from "./
|
|
57
|
-
export * from "./
|
|
58
|
-
export * from "./
|
|
59
|
-
export * from "./
|
|
60
|
-
export * from "./
|
|
61
|
-
export * from "./
|
|
62
|
-
export * from "./
|
|
63
|
-
export * from "./
|
|
64
|
-
export * from "./
|
|
65
|
-
export * from "./
|
|
66
|
-
export * from "./
|
|
1
|
+
export * from "./IfAllLiteral.js";
|
|
2
|
+
export * from "./IfScalar.js";
|
|
3
|
+
export * from "./IfDefined.js";
|
|
4
|
+
export * from "./IfOr.js";
|
|
5
|
+
export * from "./IfOptionalScalar.js";
|
|
6
|
+
export * from "./IfNull.js";
|
|
7
|
+
export * from "./IfSymbol.js";
|
|
8
|
+
export * from "./IfTruthy.js";
|
|
9
|
+
export * from "./IfSomeTruthy.js";
|
|
10
|
+
export * from "./IfAllExtend.js";
|
|
11
|
+
export * from "./IfEmptyContainer.js";
|
|
12
|
+
export * from "./IfLessThan.js";
|
|
13
|
+
export * from "./IfNegativeNumber.js";
|
|
14
|
+
export * from "./IfPositive.js";
|
|
15
|
+
export * from "./IfError.js";
|
|
16
|
+
export * from "./IfErrorCondition.js";
|
|
17
|
+
export * from "./IfNotError.js";
|
|
18
|
+
export * from "./IfSingularNoun.js";
|
|
19
|
+
export * from "./IfEqualLength.js";
|
|
20
|
+
export * from "./IfSomeExtend.js";
|
|
21
|
+
export * from "./IfDotPath.js";
|
|
22
|
+
export * from "./IfValidDotPath.js";
|
|
23
|
+
export * from "./IfHasCharacters.js";
|
|
24
|
+
export * from "./IfChar.js";
|
|
25
|
+
export * from "./IfValidKey.js";
|
|
26
|
+
export * from "./IfBoolean.js";
|
|
27
|
+
export * from "./IfGreaterThan.js";
|
|
28
|
+
export * from "./IfTrue.js";
|
|
29
|
+
export * from "./IfIndexable.js";
|
|
30
|
+
export * from "./IfIndexAt.js";
|
|
31
|
+
export * from "./IfNumber.js";
|
|
32
|
+
export * from "./IfFalse.js";
|
|
33
|
+
export * from "./IfMaybeTrue.js";
|
|
34
|
+
export * from "./IfReadonlyObject.js";
|
|
35
|
+
export * from "./IfMaybeFalse.js";
|
|
36
|
+
export * from "./IfReturns.js";
|
|
37
|
+
export * from "./IfFalsy.js";
|
|
38
|
+
export * from "./IfObject.js";
|
|
39
|
+
export * from "./IfContains.js";
|
|
40
|
+
export * from "./IfReadonlyArray.js";
|
|
41
|
+
export * from "./IfStartsWith.js";
|
|
42
|
+
export * from "./IfArray.js";
|
|
43
|
+
export * from "./IfAnd.js";
|
|
44
|
+
export * from "./IfNotNever.js";
|
|
45
|
+
export * from "./IfNever.js";
|
|
46
|
+
export * from "./IfSomeEqual.js";
|
|
47
|
+
export * from "./IfFnWithParams.js";
|
|
48
|
+
export * from "./IfFnWithoutParams.js";
|
|
49
|
+
export * from "./IfFunction.js";
|
|
50
|
+
export * from "./IfExtends.js";
|
|
51
|
+
export * from "./IfRef.js";
|
|
52
|
+
export * from "./IfExtendsAll.js";
|
|
53
|
+
export * from "./IfExtendsSome.js";
|
|
54
|
+
export * from "./IfWide.js";
|
|
55
|
+
export * from "./IfString.js";
|
|
56
|
+
export * from "./IfEqual.js";
|
|
57
|
+
export * from "./IfStringLiteral.js";
|
|
58
|
+
export * from "./IfNumericLiteral.js";
|
|
59
|
+
export * from "./IfBooleanLiteral.js";
|
|
60
|
+
export * from "./IfLiteral.js";
|
|
61
|
+
export * from "./IfNotLiteral.js";
|
|
62
|
+
export * from "./IfLength.js";
|
|
63
|
+
export * from "./IfObjectLiteral.js";
|
|
64
|
+
export * from "./IfNotEqual.js";
|
|
65
|
+
export * from "./IfUnion.js";
|
|
66
|
+
export * from "./IfNarrowlyContains.js";
|
|
67
|
+
export * from "./IfContainer.js";
|
|
68
|
+
export * from "./IfUndefined.js";
|
|
69
|
+
export * from "./IfTuple.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"And.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/combinators/And.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,EAAG,kBAAkB,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"And.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/combinators/And.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,EAAG,kBAAkB,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,cAAkB;AAE5H,KAAK,IAAI,CACP,WAAW,SAAS,SAAS,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,EAAE,EACjE,OAAO,SAAS,SAAS,OAAO,EAAE,EAClC,QAAQ,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,IACtC,EAAE,SAAS,WAAW,GACxB,kBAAkB,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,GACpD,IAAI,CACF;IACE,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAAE,YAAY,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;CAC9D,EACD,KAAK,EAAE,uBAAuB;AAC9B,IAAI,CACF,UAAU,CAAC,WAAW,CAAC,EACvB,OAAO,EACP,KAAK,CAAC,WAAW,CAAC,SAAS,OAAO,GAC9B,CAAC,GAAG,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,GACjC,KAAK,CAAC,WAAW,CAAC,SAAS,WAAW,GACpC,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,OAAO,GAC5C,CAAC,GAAG,QAAQ,EAAE,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,GAC7C,KAAK,GACP,KAAK,CACZ,CACF,CAAC;AAGJ;;;;;GAKG;AACH,MAAM,MAAM,GAAG,CACb,WAAW,SAAS,SAAS,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,EAAE,EACjE,OAAO,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,IACrC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { Tuple, LogicFunction, IfFalse, IfTrue, IsErrorCondition } from "../..";
|
|
2
|
-
type
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Tuple, LogicFunction, IfFalse, IfTrue, IsErrorCondition, AfterFirst, First } from "../..";
|
|
2
|
+
type Negate<TVal, TParams extends Tuple> = TVal extends boolean ? IfTrue<TVal, false, IfFalse<TVal, true, boolean>> : TVal extends LogicFunction<TParams> ? ReturnType<LogicFunction<TParams>> : never;
|
|
3
|
+
type NegateTuple<TTuple extends readonly (boolean | LogicFunction)[], TParams extends Tuple, TResults extends readonly (boolean | LogicFunction)[] = []> = [] extends TTuple ? TResults : NegateTuple<AfterFirst<TTuple>, TParams, [
|
|
4
|
+
...TResults,
|
|
5
|
+
Negate<First<TTuple>, TParams>
|
|
6
|
+
]>;
|
|
5
7
|
/**
|
|
6
8
|
* **Not**`<T>`
|
|
7
9
|
*
|
|
@@ -15,7 +17,6 @@ type _Negate<T extends Tuple<boolean | LogicFunction>> = {
|
|
|
15
17
|
* type Multi = Not<[true,false,boolean]>;
|
|
16
18
|
* ```
|
|
17
19
|
*/
|
|
18
|
-
export type Not<
|
|
19
|
-
IfFalse<T, true, boolean>> : [T] extends [LogicFunction] ? Not<ReturnType<T>> : [T] extends [Tuple<boolean | LogicFunction>] ? _Negate<T> : never;
|
|
20
|
+
export type Not<TVal, TParams extends Tuple = []> = IsErrorCondition<TVal> extends true ? TVal : TVal extends boolean ? Negate<TVal, TParams> : TVal extends readonly (boolean | LogicFunction)[] ? NegateTuple<TVal, TParams> : never;
|
|
20
21
|
export {};
|
|
21
22
|
//# sourceMappingURL=Not.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Not.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/combinators/Not.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"Not.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/combinators/Not.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,KAAK,EAAE,cAAkB;AAIvG,KAAK,MAAM,CACT,IAAI,EACJ,OAAO,SAAS,KAAK,IACnB,IAAI,SAAS,OAAO,GACtB,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,GACjD,IAAI,SAAS,aAAa,CAAC,OAAO,CAAC,GACjC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,GAClC,KAAK,CAAC;AAEV,KAAK,WAAW,CACd,MAAM,SAAS,SAAS,CAAC,OAAO,GAAG,aAAa,CAAC,EAAE,EACnD,OAAO,SAAS,KAAK,EACrB,QAAQ,SAAS,SAAS,CAAC,OAAO,GAAG,aAAa,CAAC,EAAE,GAAG,EAAE,IACxD,EAAE,SAAS,MAAM,GACnB,QAAQ,GACR,WAAW,CACT,UAAU,CAAC,MAAM,CAAC,EAClB,OAAO,EACP;IAAC,GAAG,QAAQ;IAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;CAAE,CAC/C,CAAC;AAEJ;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,GAAG,CACb,IAAI,EACJ,OAAO,SAAS,KAAK,GAAG,EAAE,IACxB,gBAAgB,CAAC,IAAI,CAAC,SAAS,IAAI,GACnC,IAAI,GACJ,IAAI,SAAS,OAAO,GAClB,MAAM,CAAC,IAAI,EAAC,OAAO,CAAC,GACpB,IAAI,SAAS,SAAS,CAAC,OAAO,GAAG,aAAa,CAAC,EAAE,GAC/C,WAAW,CAAC,IAAI,EAAE,OAAO,CAAC,GAC1B,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Or.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/combinators/Or.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAG,gBAAgB,EAAG,
|
|
1
|
+
{"version":3,"file":"Or.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/combinators/Or.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAG,gBAAgB,EAAG,cAAkB;AAE3E;;;;;GAKG;AACH,MAAM,MAAM,EAAE,CAEZ,WAAW,SAAS,SAAS,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,EAAE,EACjE,OAAO,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,IACrC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC,SAAS,IAAI,GAE9C,IAAI,GAEJ,gBAAgB,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,SAAS,IAAI,GACzD,IAAI,GAEJ,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC,SAAS,IAAI,GACjD,OAAO,GAEP,gBAAgB,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,SAAS,IAAI,GAC9D,OAAO,GAEP,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAC,SAAS,IAAI,GAC/C,KAAK,GAEL,gBAAgB,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,IAAI,GAC5D,KAAK,GAEL,KAAK,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./And";
|
|
2
|
-
export * from "./Or";
|
|
3
|
-
export * from "./Not";
|
|
1
|
+
export * from "./And.js";
|
|
2
|
+
export * from "./Or.js";
|
|
3
|
+
export * from "./Not.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./LogicalCombinator";
|
|
2
|
-
export * from "./operators/index";
|
|
3
|
-
export * from "./combinators/index";
|
|
4
|
-
export * from "./branching/index";
|
|
5
|
-
export * from "./narrowing/index";
|
|
1
|
+
export * from "./LogicalCombinator.js";
|
|
2
|
+
export * from "./operators/index.js";
|
|
3
|
+
export * from "./combinators/index.js";
|
|
4
|
+
export * from "./branching/index.js";
|
|
5
|
+
export * from "./narrowing/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/narrowing/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/narrowing/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAC"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./AsIndexOf";
|
|
1
|
+
export * from "./AsIndexOf.js";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AfterFirst, First } from "../..";
|
|
2
|
-
import { IfExtends } from "../..";
|
|
1
|
+
import { AfterFirst, First, IfExtends } from "../..";
|
|
3
2
|
type AllAcc<TList extends readonly unknown[], TExtend> = [] extends TList ? true : IfExtends<First<TList>, TExtend, AllAcc<AfterFirst<TList>, TExtend>, false>;
|
|
4
3
|
/**
|
|
5
4
|
* **AllExtend**`<TList, TExtend>`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllExtend.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/AllExtend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"AllExtend.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/AllExtend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAG,SAAS,EAAE,cAAkB;AAE1D,KAAK,MAAM,CACT,KAAK,SAAS,SAAS,OAAO,EAAE,EAChC,OAAO,IACL,EAAE,SAAS,KAAK,GAChB,IAAI,GACJ,SAAS,CACP,KAAK,CAAC,KAAK,CAAC,EAAE,OAAO,EACrB,MAAM,CACJ,UAAU,CAAC,KAAK,CAAC,EACjB,OAAO,CACR,EACD,KAAK,CACN,CAAC;AAGN;;;;;;;IAOI;AACJ,MAAM,MAAM,SAAS,CACnB,KAAK,SAAS,SAAS,OAAO,EAAE,EAChC,OAAO,IACL,MAAM,CAAC,KAAK,EAAC,OAAO,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Contains.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/Contains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Contains.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/Contains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,cAAkB;AAE9C;;;;;;GAMG;AACH,MAAM,MAAM,QAAQ,CAClB,KAAK,SAAS,SAAS,OAAO,EAAE,EAChC,SAAS,IACP,EAAE,SAAS,KAAK,GAChB,KAAK,GACL,KAAK,CAAC,KAAK,CAAC,SAAS,SAAS,GAC9B,IAAI,GACJ,EAAE,SAAS,UAAU,CAAC,KAAK,CAAC,GAC5B,KAAK,GACL,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContainsAll.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/ContainsAll.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAG,UAAU,EAAG,UAAU,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ContainsAll.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/ContainsAll.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAG,UAAU,EAAG,UAAU,EAAE,KAAK,EAAE,cAAkB;AAG3E,KAAK,SAAS,CACd,KAAK,SAAS,SAAS,OAAO,EAAE,EAChC,OAAO,SAAS,UAAU,EAAE,EAC5B,QAAQ,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,IACpC,EAAE,SAAS,OAAO,GAClB,QAAQ,GACR,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,SAAS,IAAI,GAC1C,SAAS,CACT,KAAK,EACL,UAAU,CAAC,OAAO,CAAC,EACnB;IAAC,GAAG,QAAQ;IAAE,IAAI;CAAC,CACpB,GACC,CAAC,KAAK,CAAC,CAAC;AAEd;;;;;;;;IAQI;AACJ,MAAM,MAAM,WAAW,CACrB,KAAK,SAAS,SAAS,OAAO,EAAE,EAChC,OAAO,SAAS,UAAU,EAAE,IAC1B,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndsWith.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/EndsWith.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"EndsWith.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/EndsWith.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,EAAE,cAAkB;AAEvF;;;;;;;;GAQG;AACH,MAAM,MAAM,QAAQ,CAClB,MAAM,EACN,SAAS,SAAS,MAAM,GAAG,MAAM,IAC/B,SAAS,SAAS,MAAM,GAC1B,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC,GACrC,QAAQ,CACR,MAAM,EACN,eAAe,CAAC,SAAS,CAAC,SAAS,IAAI,GACnC,eAAe,CAAC,MAAM,CAAC,SAAS,IAAI,GAClC,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,EAAE,GACpC,IAAI,GACJ,KAAK,GACP,OAAO,GACT,OAAO,EACX,MAAM,SAAS,MAAM,GACjB,gBAAgB,CAChB,MAAM,EACN,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,EACrC,KAAK,CACN,GACC,KAAK,CACV,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,CACpB,MAAM,EACN,SAAS,EACT,EAAE,EACF,IAAI,IACF,SAAS,SAAS,MAAM,GACxB,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC,SAAS,IAAI,GACtC,EAAE,GACF,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC,SAAS,KAAK,GACzC,IAAI,GACJ,EAAE,GAAG,IAAI,GACX,SAAS,SAAS,MAAM,GACtB,MAAM,SAAS,SAAS,GACtB,KAAK,GACL,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,GACnD,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtendsAll.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/ExtendsAll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"ExtendsAll.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/ExtendsAll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,cAAkB;AAGrC,KAAK,QAAQ,CACb,MAAM,EACN,KAAK,SAAS,SAAS,OAAO,EAAE,EAChC,SAAS,SAAS,SAAS,OAAO,EAAE,GAAG,EAAE,IACrC,KAAK,SAAS,CAAC,MAAM,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,GAC5C,KAAK,SAAS,MAAM,GAClB,QAAQ,CAAC,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,EAAE,IAAI,CAAC,CAAC,GACrD,QAAQ,CAAC,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,EAAE,KAAK,CAAC,CAAC,GACxD,GAAG,CAAC,SAAS,CAAC,CAAC;AAEjB;;;;;;;IAOI;AACJ,MAAM,MAAM,UAAU,CACpB,MAAM,EACN,KAAK,SAAS,SAAS,OAAO,EAAE,IAC9B,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtendsNone.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/ExtendsNone.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"ExtendsNone.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/operators/ExtendsNone.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,cAAkB;AAGlD;;;;;;;IAOI;AACJ,MAAM,MAAM,WAAW,CACrB,MAAM,EACN,KAAK,SAAS,SAAS,OAAO,EAAE,IAC9B,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC"}
|