inferred-types 0.42.0 → 0.43.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/Functional.d.ts +19 -0
- package/dist/constants/Functional.d.ts.map +1 -0
- package/dist/constants/Functional.js +18 -0
- package/dist/constants/Geo.d.ts +386 -0
- package/dist/constants/Geo.d.ts.map +1 -0
- package/dist/constants/Geo.js +95 -0
- package/dist/constants/HashTable.d.ts +199 -0
- package/dist/constants/HashTable.d.ts.map +1 -0
- package/dist/constants/HashTable.js +121 -0
- package/dist/constants/Marked.d.ts +2 -0
- package/dist/constants/Marked.d.ts.map +1 -0
- package/dist/constants/Marked.js +2 -0
- package/dist/constants/Shape.d.ts +3 -0
- package/dist/constants/Shape.d.ts.map +1 -0
- package/dist/constants/Shape.js +15 -0
- package/dist/constants/TCP_IP.d.ts +11 -0
- package/dist/constants/TCP_IP.d.ts.map +1 -0
- package/dist/constants/TCP_IP.js +10 -0
- package/dist/constants/TypeTokens.d.ts +23 -0
- package/dist/constants/TypeTokens.d.ts.map +1 -1
- package/dist/constants/TypeTokens.js +47 -0
- package/dist/constants/index.d.ts +6 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +6 -0
- package/dist/constants/tsconfig.tsbuildinfo +1 -1
- package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/boolean-logic/handleDoneFn.d.ts +12 -0
- package/dist/runtime/boolean-logic/handleDoneFn.d.ts.map +1 -0
- package/dist/runtime/boolean-logic/handleDoneFn.js +24 -0
- package/dist/runtime/boolean-logic/ifArray.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifArray.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifArrayPartial.d.ts +1 -1
- package/dist/runtime/boolean-logic/ifArrayPartial.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifArrayPartial.js +1 -1
- package/dist/runtime/boolean-logic/ifBoolean.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifBoolean.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifBoolean.js +1 -1
- package/dist/runtime/boolean-logic/ifChar.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifChar.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifContainer.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifContainer.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifContainer.js +2 -1
- package/dist/runtime/boolean-logic/ifFalse.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifFalse.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifFalse.js +1 -1
- package/dist/runtime/boolean-logic/ifFunction.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifFunction.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifFunction.js +1 -2
- package/dist/runtime/boolean-logic/ifHasKey.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifHasKey.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifHasKey.js +1 -1
- package/dist/runtime/boolean-logic/ifLength.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifLength.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifNotNull.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifNotNull.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifNotNull.js +1 -1
- package/dist/runtime/boolean-logic/ifNull.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifNull.js +1 -1
- package/dist/runtime/boolean-logic/ifNumber.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifNumber.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifNumber.js +1 -1
- package/dist/runtime/boolean-logic/ifObject.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifObject.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifObject.js +1 -1
- package/dist/runtime/boolean-logic/ifSameType.d.ts +3 -3
- package/dist/runtime/boolean-logic/ifSameType.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifSameType.js +6 -6
- package/dist/runtime/boolean-logic/ifScalar.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifScalar.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifScalar.js +1 -1
- package/dist/runtime/boolean-logic/ifString.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifString.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifString.js +1 -1
- package/dist/runtime/boolean-logic/ifTrue.d.ts +2 -2
- package/dist/runtime/boolean-logic/ifTrue.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifTrue.js +1 -1
- package/dist/runtime/boolean-logic/ifUndefined.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/ifUndefined.js +1 -1
- package/dist/runtime/boolean-logic/index.d.ts +1 -1
- package/dist/runtime/boolean-logic/index.d.ts.map +1 -1
- package/dist/runtime/boolean-logic/index.js +1 -3
- package/dist/runtime/combinators/and.d.ts +1 -1
- package/dist/runtime/combinators/and.d.ts.map +1 -1
- package/dist/runtime/combinators/index.d.ts +0 -1
- package/dist/runtime/combinators/index.d.ts.map +1 -1
- package/dist/runtime/combinators/index.js +0 -1
- package/dist/runtime/combinators/or.d.ts.map +1 -1
- package/dist/runtime/combinators/or.js +2 -1
- package/dist/runtime/dictionary/entries.d.ts.map +1 -1
- package/dist/runtime/dictionary/entries.js +1 -1
- package/dist/runtime/dictionary/get.d.ts.map +1 -1
- package/dist/runtime/dictionary/get.js +8 -8
- package/dist/runtime/dictionary/index.d.ts +3 -2
- package/dist/runtime/dictionary/index.d.ts.map +1 -1
- package/dist/runtime/dictionary/index.js +3 -3
- package/dist/runtime/dictionary/keysOf.d.ts +2 -2
- package/dist/runtime/dictionary/keysOf.d.ts.map +1 -1
- package/dist/runtime/dictionary/keysOf.js +4 -2
- package/dist/runtime/dictionary/omit.d.ts +2 -7
- package/dist/runtime/dictionary/omit.d.ts.map +1 -1
- package/dist/runtime/dictionary/omit.js +2 -2
- package/dist/runtime/dictionary/retain.d.ts +9 -7
- package/dist/runtime/dictionary/retain.d.ts.map +1 -1
- package/dist/runtime/dictionary/sharedKeys.d.ts +2 -2
- package/dist/runtime/dictionary/sharedKeys.d.ts.map +1 -1
- package/dist/runtime/dictionary/takeProp.d.ts +12 -0
- package/dist/runtime/dictionary/takeProp.d.ts.map +1 -0
- package/dist/runtime/dictionary/takeProp.js +15 -0
- package/dist/runtime/dictionary/valuesOf.d.ts +10 -0
- package/dist/runtime/dictionary/valuesOf.d.ts.map +1 -0
- package/dist/runtime/dictionary/valuesOf.js +14 -0
- package/dist/runtime/dictionary/withDefaults.d.ts +9 -0
- package/dist/runtime/dictionary/withDefaults.d.ts.map +1 -0
- package/dist/runtime/dictionary/withDefaults.js +13 -0
- package/dist/runtime/dictionary/withKeys.d.ts +9 -7
- package/dist/runtime/dictionary/withKeys.d.ts.map +1 -1
- package/dist/runtime/dictionary/withKeys.js +1 -1
- package/dist/runtime/dictionary/withoutKeys.d.ts +13 -6
- package/dist/runtime/dictionary/withoutKeys.d.ts.map +1 -1
- package/dist/runtime/dictionary/withoutKeys.js +1 -1
- package/dist/runtime/dictionary/withoutValue.d.ts.map +1 -1
- package/dist/runtime/errors/KindError.d.ts +27 -0
- package/dist/runtime/errors/KindError.d.ts.map +1 -0
- package/dist/runtime/errors/KindError.js +33 -0
- package/dist/runtime/errors/TypedError.d.ts.map +1 -1
- package/dist/runtime/errors/TypedError.js +1 -1
- package/dist/runtime/errors/createErrorCondition.d.ts +3 -5
- package/dist/runtime/errors/createErrorCondition.d.ts.map +1 -1
- package/dist/runtime/errors/createErrorCondition.js +5 -5
- package/dist/runtime/errors/index.d.ts +1 -0
- package/dist/runtime/errors/index.d.ts.map +1 -1
- package/dist/runtime/errors/index.js +1 -0
- package/dist/runtime/errors/kindedError.d.ts +27 -0
- package/dist/runtime/errors/kindedError.d.ts.map +1 -0
- package/dist/runtime/errors/kindedError.js +33 -0
- package/dist/runtime/functional/index.d.ts +1 -2
- package/dist/runtime/functional/index.d.ts.map +1 -1
- package/dist/runtime/functional/index.js +1 -2
- package/dist/runtime/functional/result.d.ts +2 -0
- package/dist/runtime/functional/result.d.ts.map +1 -0
- package/dist/runtime/functional/result.js +286 -0
- package/dist/runtime/functions/fnMeta.d.ts +5 -9
- package/dist/runtime/functions/fnMeta.d.ts.map +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/initializers/addFnToProps.d.ts +2 -2
- package/dist/runtime/initializers/addFnToProps.d.ts.map +1 -1
- package/dist/runtime/initializers/addPropsToFn.d.ts +2 -2
- package/dist/runtime/initializers/addPropsToFn.d.ts.map +1 -1
- package/dist/runtime/initializers/addPropsToFn.js +1 -2
- package/dist/runtime/initializers/createFnWithProps.d.ts +4 -21
- package/dist/runtime/initializers/createFnWithProps.d.ts.map +1 -1
- package/dist/runtime/initializers/createFnWithProps.js +13 -20
- package/dist/runtime/initializers/defineObj.d.ts +2 -2
- package/dist/runtime/initializers/defineObj.d.ts.map +1 -1
- package/dist/runtime/initializers/defineObj.js +4 -2
- package/dist/runtime/initializers/defineTuple.d.ts +3 -3
- package/dist/runtime/initializers/defineTuple.d.ts.map +1 -1
- package/dist/runtime/initializers/defineTuple.js +9 -2
- package/dist/runtime/initializers/index.d.ts +0 -3
- package/dist/runtime/initializers/index.d.ts.map +1 -1
- package/dist/runtime/initializers/index.js +0 -3
- package/dist/runtime/lists/asArray.d.ts.map +1 -1
- package/dist/runtime/lists/asArray.js +0 -1
- package/dist/runtime/lists/createComparison.d.ts +10 -0
- package/dist/runtime/lists/createComparison.d.ts.map +1 -0
- package/dist/runtime/lists/createComparison.js +9 -0
- package/dist/runtime/lists/createConverter.d.ts +2 -2
- package/dist/runtime/lists/createConverter.d.ts.map +1 -1
- package/dist/runtime/lists/createConverter.js +13 -12
- package/dist/runtime/lists/filter.d.ts +1 -2
- package/dist/runtime/lists/filter.d.ts.map +1 -1
- package/dist/runtime/lists/filter.js +55 -19
- package/dist/runtime/lists/find.d.ts +2 -2
- package/dist/runtime/lists/find.d.ts.map +1 -1
- package/dist/runtime/lists/find.js +3 -4
- package/dist/runtime/lists/getEach.d.ts +1 -1
- package/dist/runtime/lists/getEach.d.ts.map +1 -1
- package/dist/runtime/lists/getEach.js +5 -8
- package/dist/runtime/lists/indexOf.d.ts.map +1 -1
- package/dist/runtime/lists/indexOf.js +1 -1
- package/dist/runtime/lists/intersection.d.ts +1 -1
- package/dist/runtime/lists/intersection.d.ts.map +1 -1
- package/dist/runtime/lists/intersection.js +6 -3
- package/dist/runtime/lists/last.d.ts.map +1 -1
- package/dist/runtime/lists/logicalReturns.d.ts +2 -2
- package/dist/runtime/lists/logicalReturns.d.ts.map +1 -1
- package/dist/runtime/lists/logicalReturns.js +9 -3
- package/dist/runtime/lists/pop.d.ts +6 -3
- package/dist/runtime/lists/pop.d.ts.map +1 -1
- package/dist/runtime/lists/pop.js +2 -1
- package/dist/runtime/lists/reverse.d.ts.map +1 -1
- package/dist/runtime/lists/shift.d.ts +2 -2
- package/dist/runtime/lists/shift.d.ts.map +1 -1
- package/dist/runtime/lists/slice.d.ts.map +1 -1
- 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 +0 -1
- package/dist/runtime/literals/box.js +1 -3
- package/dist/runtime/literals/ensureLeading.d.ts +2 -2
- package/dist/runtime/literals/ensureLeading.d.ts.map +1 -1
- package/dist/runtime/literals/ensureSurround.d.ts +2 -4
- package/dist/runtime/literals/ensureSurround.d.ts.map +1 -1
- package/dist/runtime/literals/ensureSurround.js +5 -1
- package/dist/runtime/literals/ensureTrailing.d.ts.map +1 -1
- package/dist/runtime/literals/identity.d.ts.map +1 -1
- package/dist/runtime/literals/ifLowercase.d.ts +3 -3
- package/dist/runtime/literals/ifLowercase.d.ts.map +1 -1
- package/dist/runtime/literals/ifLowercase.js +0 -1
- package/dist/runtime/literals/ifUppercase.d.ts +5 -5
- package/dist/runtime/literals/ifUppercase.d.ts.map +1 -1
- package/dist/runtime/literals/ifUppercase.js +2 -3
- 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 +1 -0
- package/dist/runtime/literals/narrow.d.ts +2 -2
- package/dist/runtime/literals/narrow.d.ts.map +1 -1
- package/dist/runtime/literals/pathJoin.d.ts +1 -1
- package/dist/runtime/literals/pathJoin.d.ts.map +1 -1
- package/dist/runtime/literals/pathJoin.js +8 -9
- package/dist/runtime/literals/pluralize.d.ts.map +1 -1
- package/dist/runtime/literals/pluralize.js +5 -5
- package/dist/runtime/literals/split.d.ts +2 -2
- package/dist/runtime/literals/split.d.ts.map +1 -1
- package/dist/runtime/literals/stripTrailing.d.ts +1 -1
- package/dist/runtime/literals/stripTrailing.d.ts.map +1 -1
- package/dist/runtime/literals/stripTrailing.js +8 -1
- package/dist/runtime/literals/toCamelCase.js +1 -1
- package/dist/runtime/literals/toLowercase.d.ts.map +1 -1
- package/dist/runtime/literals/toLowercase.js +2 -1
- package/dist/runtime/literals/toNumericArray.d.ts.map +1 -1
- package/dist/runtime/literals/toPascalCase.d.ts.map +1 -1
- package/dist/runtime/literals/toPascalCase.js +1 -1
- package/dist/runtime/literals/toSnakeCase.d.ts +2 -1
- package/dist/runtime/literals/toSnakeCase.d.ts.map +1 -1
- package/dist/runtime/literals/toUppercase.d.ts.map +1 -1
- package/dist/runtime/literals/toUppercase.js +2 -1
- package/dist/runtime/literals/truncate.d.ts +3 -0
- package/dist/runtime/literals/truncate.d.ts.map +1 -0
- package/dist/runtime/literals/truncate.js +8 -0
- package/dist/runtime/literals/tuple.d.ts +2 -2
- package/dist/runtime/literals/tuple.d.ts.map +1 -1
- package/dist/runtime/literals/tuple.js +1 -1
- package/dist/runtime/runtime-types/choices.d.ts +2 -0
- package/dist/runtime/runtime-types/choices.d.ts.map +1 -0
- package/dist/runtime/runtime-types/choices.js +76 -0
- package/dist/runtime/runtime-types/dict.d.ts +10 -0
- package/dist/runtime/runtime-types/dict.d.ts.map +1 -0
- package/dist/runtime/runtime-types/dict.js +11 -0
- package/dist/runtime/runtime-types/index.d.ts +6 -6
- package/dist/runtime/runtime-types/index.d.ts.map +1 -1
- package/dist/runtime/runtime-types/index.js +6 -7
- package/dist/runtime/runtime-types/ip6Prefix.d.ts +3 -0
- package/dist/runtime/runtime-types/ip6Prefix.d.ts.map +1 -0
- package/dist/runtime/runtime-types/ip6Prefix.js +17 -0
- package/dist/runtime/runtime-types/list.d.ts +31 -0
- package/dist/runtime/runtime-types/list.d.ts.map +1 -0
- package/dist/runtime/runtime-types/list.js +36 -0
- package/dist/runtime/runtime-types/parse.d.ts +25 -0
- package/dist/runtime/runtime-types/parse.d.ts.map +1 -0
- package/dist/runtime/runtime-types/parse.js +29 -0
- package/dist/runtime/runtime-types/rec.d.ts +3 -0
- package/dist/runtime/runtime-types/rec.d.ts.map +1 -0
- package/dist/runtime/runtime-types/rec.js +3 -0
- package/dist/runtime/runtime-types/shape-helpers/addToken.d.ts +7 -0
- package/dist/runtime/runtime-types/shape-helpers/addToken.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/addToken.js +5 -0
- package/dist/runtime/runtime-types/shape-helpers/atomics.d.ts +7 -0
- package/dist/runtime/runtime-types/shape-helpers/atomics.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/atomics.js +13 -0
- package/dist/runtime/runtime-types/shape-helpers/functions.d.ts +9 -0
- package/dist/runtime/runtime-types/shape-helpers/functions.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/functions.js +15 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenData.d.ts +8 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenData.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenData.js +11 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenName.d.ts +7 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenName.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/getTokenName.js +10 -0
- package/dist/runtime/runtime-types/shape-helpers/literal-containers.d.ts +4 -0
- package/dist/runtime/runtime-types/shape-helpers/literal-containers.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/literal-containers.js +9 -0
- package/dist/runtime/runtime-types/shape-helpers/singletons.d.ts +4 -0
- package/dist/runtime/runtime-types/shape-helpers/singletons.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/singletons.js +32 -0
- package/dist/runtime/runtime-types/shape-helpers/union.d.ts +3 -0
- package/dist/runtime/runtime-types/shape-helpers/union.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/union.js +6 -0
- package/dist/runtime/runtime-types/shape-helpers/wide-containers.d.ts +7 -0
- package/dist/runtime/runtime-types/shape-helpers/wide-containers.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape-helpers/wide-containers.js +19 -0
- package/dist/runtime/runtime-types/shape.d.ts +18 -0
- package/dist/runtime/runtime-types/shape.d.ts.map +1 -0
- package/dist/runtime/runtime-types/shape.js +71 -0
- package/dist/runtime/sets/uniqueKeys.d.ts.map +1 -1
- package/dist/runtime/sets/uniqueKeys.js +14 -9
- package/dist/runtime/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/type-conversion/asRecord.d.ts +10 -0
- package/dist/runtime/type-conversion/asRecord.d.ts.map +1 -0
- package/dist/runtime/type-conversion/asRecord.js +10 -0
- package/dist/runtime/type-conversion/asString.d.ts +14 -0
- package/dist/runtime/type-conversion/asString.d.ts.map +1 -0
- package/dist/runtime/type-conversion/asString.js +21 -0
- package/dist/runtime/type-conversion/index.d.ts +2 -0
- package/dist/runtime/type-conversion/index.d.ts.map +1 -1
- package/dist/runtime/type-conversion/index.js +2 -0
- package/dist/runtime/type-conversion/mergeObjects.d.ts +2 -2
- package/dist/runtime/type-conversion/mergeObjects.d.ts.map +1 -1
- package/dist/runtime/type-conversion/mergeObjects.js +4 -2
- package/dist/runtime/type-conversion/mergeScalars.d.ts.map +1 -1
- package/dist/runtime/type-conversion/mergeScalars.js +1 -1
- package/dist/runtime/type-conversion/union.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasDefaultValue.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasDefaultValue.js +1 -1
- package/dist/runtime/type-guards/hasErrorConditions.d.ts +4 -2
- package/dist/runtime/type-guards/hasErrorConditions.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasErrorConditions.js +1 -1
- package/dist/runtime/type-guards/hasIndexOf.d.ts +2 -2
- package/dist/runtime/type-guards/hasIndexOf.d.ts.map +1 -1
- package/dist/runtime/type-guards/hasIndexOf.js +9 -2
- package/dist/runtime/type-guards/hasKeys.d.ts +15 -0
- package/dist/runtime/type-guards/hasKeys.d.ts.map +1 -0
- package/dist/runtime/type-guards/hasKeys.js +26 -0
- package/dist/runtime/type-guards/higher-order/endsWith.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/endsWith.js +2 -1
- package/dist/runtime/type-guards/higher-order/index.d.ts +1 -0
- package/dist/runtime/type-guards/higher-order/index.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/index.js +1 -0
- package/dist/runtime/type-guards/higher-order/isEqual.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/isEqual.js +1 -1
- package/dist/runtime/type-guards/higher-order/isLength.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/isLength.js +5 -1
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.d.ts +2 -0
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.js +3 -2
- package/dist/runtime/type-guards/higher-order/isTuple.d.ts +8 -0
- package/dist/runtime/type-guards/higher-order/isTuple.d.ts.map +1 -0
- package/dist/runtime/type-guards/higher-order/isTuple.js +13 -0
- package/dist/runtime/type-guards/higher-order/isTypeOf.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/startsWith.d.ts +13 -2
- package/dist/runtime/type-guards/higher-order/startsWith.d.ts.map +1 -1
- package/dist/runtime/type-guards/higher-order/startsWith.js +15 -3
- package/dist/runtime/type-guards/index.d.ts +4 -1
- package/dist/runtime/type-guards/index.d.ts.map +1 -1
- package/dist/runtime/type-guards/index.js +4 -1
- package/dist/runtime/type-guards/isAlpha.d.ts.map +1 -1
- package/dist/runtime/type-guards/isAlpha.js +2 -1
- package/dist/runtime/type-guards/isConstant.d.ts.map +1 -1
- package/dist/runtime/type-guards/isConstant.js +3 -1
- package/dist/runtime/type-guards/isContainer.d.ts.map +1 -1
- package/dist/runtime/type-guards/isContainer.js +1 -1
- package/dist/runtime/type-guards/isDoneFn.d.ts +9 -0
- package/dist/runtime/type-guards/isDoneFn.d.ts.map +1 -0
- package/dist/runtime/type-guards/isDoneFn.js +10 -0
- package/dist/runtime/type-guards/isErrorCondition.d.ts +1 -3
- package/dist/runtime/type-guards/isErrorCondition.d.ts.map +1 -1
- package/dist/runtime/type-guards/isErrorCondition.js +7 -5
- package/dist/runtime/type-guards/isFalsy.d.ts.map +1 -1
- package/dist/runtime/type-guards/isFunction.d.ts +2 -2
- package/dist/runtime/type-guards/isFunction.d.ts.map +1 -1
- package/dist/runtime/type-guards/isIndexable.d.ts.map +1 -1
- package/dist/runtime/type-guards/isIndexable.js +1 -1
- package/dist/runtime/type-guards/isLeftRight.d.ts.map +1 -1
- package/dist/runtime/type-guards/isLeftRight.js +1 -2
- package/dist/runtime/type-guards/isNever.d.ts +8 -0
- package/dist/runtime/type-guards/isNever.d.ts.map +1 -0
- package/dist/runtime/type-guards/isNever.js +10 -0
- package/dist/runtime/type-guards/isNumericString.d.ts.map +1 -1
- package/dist/runtime/type-guards/isNumericString.js +1 -2
- package/dist/runtime/type-guards/isObject.d.ts +2 -2
- package/dist/runtime/type-guards/isObject.d.ts.map +1 -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/isRef.js +4 -2
- package/dist/runtime/type-guards/isRuntimeUnion.d.ts +8 -0
- package/dist/runtime/type-guards/isRuntimeUnion.d.ts.map +1 -0
- package/dist/runtime/type-guards/isRuntimeUnion.js +8 -0
- package/dist/runtime/type-guards/isScalar.d.ts.map +1 -1
- package/dist/runtime/type-guards/isScalar.js +4 -1
- package/dist/runtime/type-guards/isSpecificConstant.d.ts.map +1 -1
- package/dist/runtime/type-guards/isSpecificConstant.js +2 -1
- package/dist/runtime/type-guards/isTruthy.d.ts.map +1 -1
- package/dist/runtime/type-guards/isTypeToken.d.ts.map +1 -1
- package/dist/runtime/type-guards/isTypeToken.js +2 -5
- package/dist/runtime/vuejs/asVueRef.d.ts +15 -0
- package/dist/runtime/vuejs/asVueRef.d.ts.map +1 -0
- package/dist/runtime/vuejs/asVueRef.js +16 -0
- package/dist/runtime/vuejs/index.d.ts +2 -0
- package/dist/runtime/vuejs/index.d.ts.map +1 -0
- package/dist/runtime/vuejs/index.js +1 -0
- package/dist/types/base-types/AnyObject.d.ts +3 -2
- package/dist/types/base-types/AnyObject.d.ts.map +1 -1
- package/dist/types/base-types/AnyObject.js +0 -1
- package/dist/types/base-types/Container.d.ts +7 -3
- package/dist/types/base-types/Container.d.ts.map +1 -1
- package/dist/types/base-types/Dictionary.d.ts +11 -0
- package/dist/types/base-types/Dictionary.d.ts.map +1 -0
- package/dist/types/base-types/EmptyObject.d.ts +11 -3
- package/dist/types/base-types/EmptyObject.d.ts.map +1 -1
- package/dist/types/base-types/IndexableObject.d.ts +15 -9
- package/dist/types/base-types/IndexableObject.d.ts.map +1 -1
- package/dist/types/base-types/List.d.ts +319 -0
- package/dist/types/base-types/List.d.ts.map +1 -0
- package/dist/types/base-types/NarrowObject.d.ts +5 -0
- package/dist/types/base-types/NarrowObject.d.ts.map +1 -1
- package/dist/types/base-types/NonArray.d.ts +8 -0
- package/dist/types/base-types/NonArray.d.ts.map +1 -0
- package/dist/types/base-types/Tuple.d.ts +6 -3
- package/dist/types/base-types/Tuple.d.ts.map +1 -1
- package/dist/types/base-types/fns/AnyFnWithDict.d.ts +9 -0
- package/dist/types/base-types/fns/AnyFnWithDict.d.ts.map +1 -0
- package/dist/types/base-types/fns/AnyFunction.d.ts +8 -0
- package/dist/types/base-types/fns/AnyFunction.d.ts.map +1 -0
- package/dist/types/base-types/fns/AnyFunction.js +2 -0
- package/dist/types/base-types/fns/FnWithDict.d.ts +2 -17
- package/dist/types/base-types/fns/FnWithDict.d.ts.map +1 -1
- package/dist/types/base-types/fns/IdentityFunction.d.ts.map +1 -0
- package/dist/types/base-types/fns/JustFunction.d.ts +9 -0
- package/dist/types/base-types/fns/JustFunction.d.ts.map +1 -0
- package/dist/types/base-types/fns/TypedFunction.d.ts +9 -0
- package/dist/types/base-types/fns/TypedFunction.d.ts.map +1 -0
- package/dist/types/base-types/fns/index.d.ts +5 -1
- package/dist/types/base-types/fns/index.d.ts.map +1 -1
- package/dist/types/base-types/fns/index.js +5 -1
- package/dist/types/base-types/functional/LeftRight.d.ts +3 -3
- package/dist/types/base-types/functional/LeftRight.d.ts.map +1 -1
- package/dist/types/base-types/index.d.ts +3 -4
- package/dist/types/base-types/index.d.ts.map +1 -1
- package/dist/types/base-types/index.js +3 -4
- package/dist/types/boolean-logic/branching/Default.d.ts +11 -0
- package/dist/types/boolean-logic/branching/Default.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/Fail.d.ts +21 -0
- package/dist/types/boolean-logic/branching/Fail.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/Handle.d.ts +17 -0
- package/dist/types/boolean-logic/branching/Handle.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/If.d.ts +14 -0
- package/dist/types/boolean-logic/branching/If.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/IfAllExtend.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfErrorCondition.d.ts +2 -2
- package/dist/types/boolean-logic/branching/IfErrorCondition.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/IfLength.d.ts +2 -2
- package/dist/types/boolean-logic/branching/IfLength.d.ts.map +1 -1
- 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/Iff.d.ts +24 -0
- package/dist/types/boolean-logic/branching/Iff.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/Passthrough.d.ts +11 -0
- package/dist/types/boolean-logic/branching/Passthrough.d.ts.map +1 -0
- package/dist/types/boolean-logic/branching/index.d.ts +6 -63
- package/dist/types/boolean-logic/branching/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/branching/index.js +6 -63
- package/dist/types/boolean-logic/combinators/And.d.ts +4 -8
- package/dist/types/boolean-logic/combinators/And.d.ts.map +1 -1
- package/dist/types/boolean-logic/combinators/Compare.d.ts +47 -0
- package/dist/types/boolean-logic/combinators/Compare.d.ts.map +1 -0
- 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 +16 -5
- package/dist/types/boolean-logic/combinators/Or.d.ts.map +1 -1
- package/dist/types/boolean-logic/combinators/index.d.ts +1 -0
- package/dist/types/boolean-logic/combinators/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/combinators/index.js +1 -0
- package/dist/types/boolean-logic/narrowing/As.d.ts +7 -0
- package/dist/types/boolean-logic/narrowing/As.d.ts.map +1 -0
- package/dist/types/boolean-logic/narrowing/AsDoneFn.d.ts +12 -0
- package/dist/types/boolean-logic/narrowing/AsDoneFn.d.ts.map +1 -0
- package/dist/types/boolean-logic/narrowing/AsIndexOf.d.ts +2 -6
- package/dist/types/boolean-logic/narrowing/AsIndexOf.d.ts.map +1 -1
- package/dist/types/boolean-logic/narrowing/AsSomething.d.ts +20 -0
- package/dist/types/boolean-logic/narrowing/AsSomething.d.ts.map +1 -0
- package/dist/types/boolean-logic/narrowing/index.d.ts +3 -0
- package/dist/types/boolean-logic/narrowing/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/narrowing/index.js +3 -0
- package/dist/types/boolean-logic/operators/AllExtend.d.ts +2 -2
- package/dist/types/boolean-logic/operators/AllExtend.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/AllLiteral.d.ts +4 -4
- package/dist/types/boolean-logic/operators/AllLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/AllNumericLiterals.d.ts +12 -0
- package/dist/types/boolean-logic/operators/AllNumericLiterals.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/AllStringLiterals.d.ts +12 -0
- package/dist/types/boolean-logic/operators/AllStringLiterals.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/AreSameLength.d.ts +9 -0
- package/dist/types/boolean-logic/operators/AreSameLength.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/AreSameType.d.ts +18 -0
- package/dist/types/boolean-logic/operators/AreSameType.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/Contains.d.ts +19 -4
- package/dist/types/boolean-logic/operators/Contains.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/DoesExtend.d.ts +2 -1
- package/dist/types/boolean-logic/operators/DoesExtend.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/EndsWith.d.ts +16 -15
- package/dist/types/boolean-logic/operators/EndsWith.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/Extends.d.ts +9 -0
- package/dist/types/boolean-logic/operators/Extends.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasCharacters.d.ts +14 -9
- package/dist/types/boolean-logic/operators/HasCharacters.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasIndex.d.ts +9 -0
- package/dist/types/boolean-logic/operators/HasIndex.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasOtherCharacters.d.ts +16 -0
- package/dist/types/boolean-logic/operators/HasOtherCharacters.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasParameters.d.ts +2 -2
- package/dist/types/boolean-logic/operators/HasParameters.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasProp.d.ts +11 -0
- package/dist/types/boolean-logic/operators/HasProp.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasRequiredProps.d.ts +10 -0
- package/dist/types/boolean-logic/operators/HasRequiredProps.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasSameKeys.d.ts +13 -0
- package/dist/types/boolean-logic/operators/HasSameKeys.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/HasSameValues.d.ts +8 -4
- package/dist/types/boolean-logic/operators/HasSameValues.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasUnionType.d.ts +2 -2
- package/dist/types/boolean-logic/operators/HasUnionType.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/HasWideValues.d.ts +10 -0
- package/dist/types/boolean-logic/operators/HasWideValues.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsAllLowercase.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsAllLowercase.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsAny.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsAny.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsBooleanLiteral.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsBooleanLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsContainer.d.ts +2 -4
- package/dist/types/boolean-logic/operators/IsContainer.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsDotPath.d.ts +5 -3
- package/dist/types/boolean-logic/operators/IsDotPath.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsEmptyObject.d.ts +3 -2
- package/dist/types/boolean-logic/operators/IsEmptyObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsEqual.d.ts +1 -1
- package/dist/types/boolean-logic/operators/IsEqual.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsErrorCondition.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsErrorCondition.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsFalsy.d.ts +7 -2
- package/dist/types/boolean-logic/operators/IsFalsy.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsFloat.d.ts +13 -0
- package/dist/types/boolean-logic/operators/IsFloat.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsFnWithParams.d.ts +3 -3
- 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 +6 -2
- package/dist/types/boolean-logic/operators/IsGreaterThan.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsHexadecimal.d.ts +9 -0
- package/dist/types/boolean-logic/operators/IsHexadecimal.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsInteger.d.ts +9 -0
- package/dist/types/boolean-logic/operators/IsInteger.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsIterable.d.ts +10 -0
- package/dist/types/boolean-logic/operators/IsIterable.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsLiteral.d.ts +14 -27
- package/dist/types/boolean-logic/operators/IsLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsLiteralFn.d.ts +16 -0
- package/dist/types/boolean-logic/operators/IsLiteralFn.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsLiteralUnion.d.ts +13 -0
- package/dist/types/boolean-logic/operators/IsLiteralUnion.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsNarrowingFn.d.ts +12 -0
- package/dist/types/boolean-logic/operators/IsNarrowingFn.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts +4 -2
- package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsNonLiteralUnion.d.ts +13 -0
- package/dist/types/boolean-logic/operators/IsNonLiteralUnion.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsNothing.d.ts +9 -0
- package/dist/types/boolean-logic/operators/IsNothing.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsNull.d.ts +5 -1
- package/dist/types/boolean-logic/operators/IsNull.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsNumber.d.ts +2 -1
- package/dist/types/boolean-logic/operators/IsNumber.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsObject.d.ts +4 -4
- package/dist/types/boolean-logic/operators/IsObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsObjectLiteral.d.ts +7 -4
- package/dist/types/boolean-logic/operators/IsObjectLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsOptionalScalar.d.ts +4 -5
- package/dist/types/boolean-logic/operators/IsOptionalScalar.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsReadonlyObject.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsReadonlyObject.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsScalar.d.ts +2 -8
- package/dist/types/boolean-logic/operators/IsScalar.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsSingleChar.d.ts +8 -0
- package/dist/types/boolean-logic/operators/IsSingleChar.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsSingularNoun.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsSingularNoun.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsString.d.ts +2 -1
- package/dist/types/boolean-logic/operators/IsString.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsStringLiteral.d.ts +2 -4
- package/dist/types/boolean-logic/operators/IsStringLiteral.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsTrue.d.ts +4 -2
- package/dist/types/boolean-logic/operators/IsTrue.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsTruthy.d.ts +5 -3
- package/dist/types/boolean-logic/operators/IsTruthy.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsTuple.d.ts +4 -2
- package/dist/types/boolean-logic/operators/IsTuple.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsUnion.d.ts +2 -2
- package/dist/types/boolean-logic/operators/IsUnion.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsValidDotPath.d.ts +11 -16
- package/dist/types/boolean-logic/operators/IsValidDotPath.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsValidIndex.d.ts +11 -0
- package/dist/types/boolean-logic/operators/IsValidIndex.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsVueRef.d.ts +14 -0
- package/dist/types/boolean-logic/operators/IsVueRef.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/IsWideType.d.ts +47 -4
- package/dist/types/boolean-logic/operators/IsWideType.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/IsWideUnion.d.ts +15 -0
- package/dist/types/boolean-logic/operators/IsWideUnion.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/NotLength.d.ts +2 -2
- package/dist/types/boolean-logic/operators/NotLength.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/Returns.d.ts +2 -2
- package/dist/types/boolean-logic/operators/Returns.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ReturnsBoolean.d.ts +2 -2
- package/dist/types/boolean-logic/operators/ReturnsBoolean.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ReturnsFalse.d.ts +2 -2
- package/dist/types/boolean-logic/operators/ReturnsFalse.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/ReturnsTrue.d.ts +2 -2
- package/dist/types/boolean-logic/operators/ReturnsTrue.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/SomeEqual.d.ts +2 -2
- package/dist/types/boolean-logic/operators/SomeEqual.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/SomeExtend.d.ts +2 -2
- package/dist/types/boolean-logic/operators/SomeExtend.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/StartsWith.d.ts +20 -7
- package/dist/types/boolean-logic/operators/StartsWith.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/Validate.d.ts +20 -0
- package/dist/types/boolean-logic/operators/Validate.d.ts.map +1 -0
- package/dist/types/boolean-logic/operators/index.d.ts +25 -11
- package/dist/types/boolean-logic/operators/index.d.ts.map +1 -1
- package/dist/types/boolean-logic/operators/index.js +25 -11
- package/dist/types/classes/Constructor.d.ts +1 -1
- package/dist/types/classes/Constructor.d.ts.map +1 -1
- package/dist/types/classes/KlassMeta.d.ts +21 -0
- package/dist/types/classes/KlassMeta.d.ts.map +1 -0
- package/dist/types/classes/index.d.ts +1 -0
- package/dist/types/classes/index.d.ts.map +1 -1
- package/dist/types/classes/index.js +1 -0
- package/dist/types/containers/IsEmptyContainer.d.ts +11 -0
- package/dist/types/containers/IsEmptyContainer.d.ts.map +1 -0
- package/dist/types/containers/IsNonEmptyContainer.d.ts +12 -0
- package/dist/types/containers/IsNonEmptyContainer.d.ts.map +1 -0
- package/dist/types/containers/RemoveMarked.d.ts +13 -0
- package/dist/types/containers/RemoveMarked.d.ts.map +1 -0
- package/dist/types/containers/RemoveNever.d.ts +18 -0
- package/dist/types/containers/RemoveNever.d.ts.map +1 -0
- package/dist/types/containers/RemoveUndefined.d.ts +17 -0
- package/dist/types/containers/RemoveUndefined.d.ts.map +1 -0
- package/dist/types/containers/index.d.ts +5 -3
- package/dist/types/containers/index.d.ts.map +1 -1
- package/dist/types/containers/index.js +5 -3
- package/dist/types/dictionary/AddKeyValue.d.ts +2 -2
- package/dist/types/dictionary/AddKeyValue.d.ts.map +1 -1
- package/dist/types/dictionary/CombinedKeys.d.ts +4 -6
- package/dist/types/dictionary/CombinedKeys.d.ts.map +1 -1
- package/dist/types/dictionary/CreateKV.d.ts +15 -0
- package/dist/types/dictionary/CreateKV.d.ts.map +1 -0
- package/dist/types/dictionary/CreateLookup.d.ts +13 -0
- package/dist/types/dictionary/CreateLookup.d.ts.map +1 -0
- package/dist/types/dictionary/EnsureKeys.d.ts +19 -0
- package/dist/types/dictionary/EnsureKeys.d.ts.map +1 -0
- package/dist/types/dictionary/FromMaybeRef.d.ts +2 -2
- package/dist/types/dictionary/FromMaybeRef.d.ts.map +1 -1
- package/dist/types/dictionary/Get.d.ts +4 -25
- package/dist/types/dictionary/Get.d.ts.map +1 -1
- package/dist/types/dictionary/Get.js +0 -1
- package/dist/types/dictionary/Keys.d.ts +8 -2
- package/dist/types/dictionary/Keys.d.ts.map +1 -1
- package/dist/types/dictionary/KeysWithValue.d.ts +5 -5
- package/dist/types/dictionary/KeysWithValue.d.ts.map +1 -1
- package/dist/types/dictionary/KvFn.d.ts +15 -0
- package/dist/types/dictionary/KvFn.d.ts.map +1 -0
- package/dist/types/dictionary/MakeKeysOptional.d.ts +15 -0
- package/dist/types/dictionary/MakeKeysOptional.d.ts.map +1 -0
- package/dist/types/dictionary/MakePropsMutable.d.ts +1 -1
- package/dist/types/dictionary/MakePropsMutable.d.ts.map +1 -1
- package/dist/types/dictionary/MapTo.d.ts +2 -2
- package/dist/types/dictionary/MapTo.d.ts.map +1 -1
- package/dist/types/dictionary/MergeKVs.d.ts +20 -0
- package/dist/types/dictionary/MergeKVs.d.ts.map +1 -0
- package/dist/types/dictionary/MutableProps.d.ts +2 -2
- package/dist/types/dictionary/MutableProps.d.ts.map +1 -1
- package/dist/types/dictionary/OptionalProps.d.ts +2 -2
- package/dist/types/dictionary/OptionalProps.d.ts.map +1 -1
- package/dist/types/dictionary/RemoveIndexKeys.d.ts +3 -2
- package/dist/types/dictionary/RemoveIndexKeys.d.ts.map +1 -1
- package/dist/types/dictionary/SharedKeys.d.ts +3 -3
- package/dist/types/dictionary/SharedKeys.d.ts.map +1 -1
- package/dist/types/dictionary/TakeProp.d.ts +9 -0
- package/dist/types/dictionary/TakeProp.d.ts.map +1 -0
- package/dist/types/dictionary/UpsertKeyValue.d.ts +4 -2
- package/dist/types/dictionary/UpsertKeyValue.d.ts.map +1 -1
- package/dist/types/dictionary/Values.d.ts +18 -0
- package/dist/types/dictionary/Values.d.ts.map +1 -0
- package/dist/types/dictionary/WithKeys.d.ts +3 -2
- package/dist/types/dictionary/WithKeys.d.ts.map +1 -1
- package/dist/types/dictionary/WithValue.d.ts +8 -3
- package/dist/types/dictionary/WithValue.d.ts.map +1 -1
- package/dist/types/dictionary/WithoutKeys.d.ts +4 -2
- package/dist/types/dictionary/WithoutKeys.d.ts.map +1 -1
- package/dist/types/dictionary/index.d.ts +8 -2
- package/dist/types/dictionary/index.d.ts.map +1 -1
- package/dist/types/dictionary/index.js +8 -2
- package/dist/types/errors/AsError.d.ts +6 -21
- package/dist/types/errors/AsError.d.ts.map +1 -1
- package/dist/types/errors/CompleteError.d.ts +22 -0
- package/dist/types/errors/CompleteError.d.ts.map +1 -0
- package/dist/types/errors/ErrorCondition.d.ts +70 -33
- package/dist/types/errors/ErrorCondition.d.ts.map +1 -1
- package/dist/types/errors/KindError.d.ts +39 -0
- package/dist/types/errors/KindError.d.ts.map +1 -0
- package/dist/types/errors/MapError.d.ts +15 -0
- package/dist/types/errors/MapError.d.ts.map +1 -0
- package/dist/types/errors/PartialError.d.ts +19 -0
- package/dist/types/errors/PartialError.d.ts.map +1 -0
- package/dist/types/errors/ProxyError.d.ts +22 -0
- package/dist/types/errors/ProxyError.d.ts.map +1 -0
- package/dist/types/errors/StackTrace.d.ts +13 -0
- package/dist/types/errors/StackTrace.d.ts.map +1 -0
- package/dist/types/errors/Throw.d.ts +21 -0
- package/dist/types/errors/Throw.d.ts.map +1 -0
- package/dist/types/errors/index.d.ts +7 -1
- package/dist/types/errors/index.d.ts.map +1 -1
- package/dist/types/errors/index.js +7 -1
- package/dist/types/functional/Option.d.ts +1 -0
- package/dist/types/functional/Option.d.ts.map +1 -0
- package/dist/types/functional/Result.d.ts +238 -0
- package/dist/types/functional/Result.d.ts.map +1 -0
- package/dist/types/functional/Result.js +2 -0
- package/dist/types/functional/index.d.ts +1 -0
- package/dist/types/functional/index.d.ts.map +1 -1
- package/dist/types/functional/index.js +1 -0
- package/dist/types/functions/AsFnMeta.d.ts +3 -4
- package/dist/types/functions/AsFnMeta.d.ts.map +1 -1
- package/dist/types/functions/Fn.d.ts +9 -0
- package/dist/types/functions/Fn.d.ts.map +1 -0
- package/dist/types/functions/FnFrom.d.ts +3 -0
- package/dist/types/functions/FnFrom.d.ts.map +1 -0
- package/dist/types/functions/FnMeta.d.ts +6 -2
- package/dist/types/functions/FnMeta.d.ts.map +1 -1
- package/dist/types/functions/FnProps.d.ts +4 -2
- package/dist/types/functions/FnProps.d.ts.map +1 -1
- package/dist/types/functions/HandleDoneFn.d.ts +12 -0
- package/dist/types/functions/HandleDoneFn.d.ts.map +1 -0
- package/dist/types/functions/IdentityFn.d.ts +11 -0
- package/dist/types/functions/IdentityFn.d.ts.map +1 -0
- package/dist/types/functions/LiteralFn.d.ts +20 -0
- package/dist/types/functions/LiteralFn.d.ts.map +1 -0
- package/dist/types/functions/LogicFunction.d.ts +1 -1
- package/dist/types/functions/LogicFunction.d.ts.map +1 -1
- package/dist/types/functions/NarrowingFn.d.ts +32 -0
- package/dist/types/functions/NarrowingFn.d.ts.map +1 -0
- package/dist/types/functions/OnlyFnProps.d.ts +9 -0
- package/dist/types/functions/OnlyFnProps.d.ts.map +1 -0
- package/dist/types/functions/RemoveFnProps.d.ts.map +1 -1
- package/dist/types/functions/ToFn.d.ts +2 -2
- package/dist/types/functions/ToFn.d.ts.map +1 -1
- package/dist/types/functions/TypeGuard.d.ts +1 -1
- package/dist/types/functions/TypeGuard.d.ts.map +1 -1
- package/dist/types/functions/index.d.ts +6 -0
- package/dist/types/functions/index.d.ts.map +1 -1
- package/dist/types/functions/index.js +6 -0
- package/dist/types/lists/ArrayElementType.d.ts +2 -2
- package/dist/types/lists/ArrayElementType.d.ts.map +1 -1
- package/dist/types/lists/AsArray.d.ts +2 -2
- package/dist/types/lists/AsArray.d.ts.map +1 -1
- package/dist/types/lists/AsTuple.d.ts +2 -2
- package/dist/types/lists/AsTuple.d.ts.map +1 -1
- package/dist/types/lists/BeforeLast.d.ts +10 -3
- package/dist/types/lists/BeforeLast.d.ts.map +1 -1
- package/dist/types/lists/Filter.d.ts +19 -8
- package/dist/types/lists/Filter.d.ts.map +1 -1
- package/dist/types/lists/FilterLiterals.d.ts +19 -0
- package/dist/types/lists/FilterLiterals.d.ts.map +1 -0
- package/dist/types/lists/FilterWideTypes.d.ts +18 -0
- package/dist/types/lists/FilterWideTypes.d.ts.map +1 -0
- package/dist/types/lists/Find.d.ts +3 -3
- package/dist/types/lists/Find.d.ts.map +1 -1
- package/dist/types/lists/First.d.ts +7 -3
- package/dist/types/lists/First.d.ts.map +1 -1
- package/dist/types/lists/Flatten.d.ts +31 -8
- package/dist/types/lists/Flatten.d.ts.map +1 -1
- package/dist/types/lists/GetEach.d.ts +10 -9
- package/dist/types/lists/GetEach.d.ts.map +1 -1
- package/dist/types/lists/IndexOf.d.ts +47 -10
- package/dist/types/lists/IndexOf.d.ts.map +1 -1
- package/dist/types/lists/Last.d.ts +5 -3
- package/dist/types/lists/Last.d.ts.map +1 -1
- package/dist/types/lists/Length.d.ts +13 -2
- package/dist/types/lists/Length.d.ts.map +1 -1
- package/dist/types/lists/LogicalReturns.d.ts +6 -13
- package/dist/types/lists/LogicalReturns.d.ts.map +1 -1
- package/dist/types/lists/NumericKeys.d.ts +4 -3
- package/dist/types/lists/NumericKeys.d.ts.map +1 -1
- package/dist/types/lists/Pop.d.ts +2 -2
- package/dist/types/lists/Pop.d.ts.map +1 -1
- package/dist/types/lists/Push.d.ts +15 -0
- package/dist/types/lists/Push.d.ts.map +1 -0
- package/dist/types/lists/Retain.d.ts +13 -7
- package/dist/types/lists/Retain.d.ts.map +1 -1
- package/dist/types/lists/RetainLiterals.d.ts +20 -0
- package/dist/types/lists/RetainLiterals.d.ts.map +1 -0
- package/dist/types/lists/RetainWideTypes.d.ts +21 -0
- package/dist/types/lists/RetainWideTypes.d.ts.map +1 -0
- package/dist/types/lists/ReturnTypes.d.ts +2 -2
- package/dist/types/lists/ReturnTypes.d.ts.map +1 -1
- package/dist/types/lists/Reverse.d.ts +4 -1
- package/dist/types/lists/Reverse.d.ts.map +1 -1
- package/dist/types/lists/Second.d.ts +13 -0
- package/dist/types/lists/Second.d.ts.map +1 -0
- package/dist/types/lists/Shift.d.ts +3 -3
- package/dist/types/lists/Shift.d.ts.map +1 -1
- package/dist/types/lists/Slice.d.ts +3 -1
- package/dist/types/lists/Slice.d.ts.map +1 -1
- package/dist/types/lists/TruthyReturns.d.ts +2 -2
- package/dist/types/lists/TruthyReturns.d.ts.map +1 -1
- package/dist/types/lists/index.d.ts +7 -1
- package/dist/types/lists/index.d.ts.map +1 -1
- package/dist/types/lists/index.js +7 -1
- package/dist/types/literals/Box.d.ts +2 -2
- package/dist/types/literals/Box.d.ts.map +1 -1
- package/dist/types/literals/Choices.d.ts +102 -0
- package/dist/types/literals/Choices.d.ts.map +1 -0
- package/dist/types/literals/DoneFnTuple.d.ts +28 -0
- package/dist/types/literals/DoneFnTuple.d.ts.map +1 -0
- package/dist/types/literals/ExpandRecursively.d.ts +13 -6
- package/dist/types/literals/ExpandRecursively.d.ts.map +1 -1
- package/dist/types/literals/FromDefn.d.ts +55 -0
- package/dist/types/literals/FromDefn.d.ts.map +1 -0
- package/dist/types/literals/FromTokenNames.d.ts +19 -0
- package/dist/types/literals/FromTokenNames.d.ts.map +1 -0
- package/dist/types/literals/Narrow.d.ts +10 -0
- package/dist/types/literals/Narrow.d.ts.map +1 -0
- package/dist/types/literals/RuntimeUnion.d.ts +14 -0
- package/dist/types/literals/RuntimeUnion.d.ts.map +1 -0
- package/dist/types/literals/Shape.d.ts +222 -0
- package/dist/types/literals/Shape.d.ts.map +1 -0
- package/dist/types/literals/VueComputedRef.d.ts +35 -0
- package/dist/types/literals/VueComputedRef.d.ts.map +1 -0
- package/dist/types/literals/VueComputedRef.js +11 -0
- package/dist/types/literals/VueRef.d.ts +13 -2
- package/dist/types/literals/VueRef.d.ts.map +1 -1
- package/dist/types/literals/index.d.ts +8 -0
- package/dist/types/literals/index.d.ts.map +1 -1
- package/dist/types/literals/index.js +8 -0
- package/dist/types/numeric-literals/Abs.d.ts +4 -4
- package/dist/types/numeric-literals/Abs.d.ts.map +1 -1
- package/dist/types/numeric-literals/AbsMaybe.d.ts +2 -2
- package/dist/types/numeric-literals/AbsMaybe.d.ts.map +1 -1
- package/dist/types/numeric-literals/Add.d.ts +12 -16
- package/dist/types/numeric-literals/Add.d.ts.map +1 -1
- package/dist/types/numeric-literals/AsNumberWhenPossible.d.ts +3 -3
- package/dist/types/numeric-literals/AsNumberWhenPossible.d.ts.map +1 -1
- package/dist/types/numeric-literals/Decrement.d.ts +2 -2
- package/dist/types/numeric-literals/Decrement.d.ts.map +1 -1
- package/dist/types/numeric-literals/Digitize.d.ts +10 -3
- package/dist/types/numeric-literals/Digitize.d.ts.map +1 -1
- package/dist/types/numeric-literals/Increment.d.ts +2 -2
- package/dist/types/numeric-literals/Increment.d.ts.map +1 -1
- package/dist/types/numeric-literals/Negative.d.ts +2 -2
- package/dist/types/numeric-literals/Negative.d.ts.map +1 -1
- package/dist/types/numeric-literals/NextDigit.d.ts +2 -2
- package/dist/types/numeric-literals/NextDigit.d.ts.map +1 -1
- package/dist/types/numeric-literals/PriorDigit.d.ts +2 -2
- package/dist/types/numeric-literals/Subtract.d.ts +3 -3
- package/dist/types/numeric-literals/Subtract.d.ts.map +1 -1
- package/dist/types/numeric-literals/ToInteger.d.ts +2 -2
- package/dist/types/numeric-literals/ToInteger.d.ts.map +1 -1
- package/dist/types/numeric-literals/ToNumericArray.d.ts +6 -6
- package/dist/types/numeric-literals/ToNumericArray.d.ts.map +1 -1
- package/dist/types/numeric-literals/ValueCallback.d.ts +87 -0
- package/dist/types/numeric-literals/ValueCallback.d.ts.map +1 -1
- package/dist/types/numeric-literals/index.d.ts +0 -2
- package/dist/types/numeric-literals/index.d.ts.map +1 -1
- package/dist/types/numeric-literals/index.js +0 -2
- package/dist/types/runtime-types/DescribeType.d.ts +31 -23
- package/dist/types/runtime-types/DescribeType.d.ts.map +1 -1
- package/dist/types/runtime-types/DescribeType.js +1 -0
- package/dist/types/runtime-types/Dict.d.ts +24 -0
- package/dist/types/runtime-types/Dict.d.ts.map +1 -0
- package/dist/types/runtime-types/Dict.js +2 -0
- package/dist/types/runtime-types/FromLiteralTokens.d.ts +3 -3
- package/dist/types/runtime-types/FromLiteralTokens.d.ts.map +1 -1
- package/dist/types/runtime-types/Rec.d.ts +15 -0
- package/dist/types/runtime-types/Rec.d.ts.map +1 -0
- package/dist/types/runtime-types/Rec.js +2 -0
- package/dist/types/runtime-types/TokenizeStringLiteral.d.ts +3 -3
- package/dist/types/runtime-types/TokenizeStringLiteral.d.ts.map +1 -1
- package/dist/types/runtime-types/Type.d.ts +12 -12
- package/dist/types/runtime-types/Type.d.ts.map +1 -1
- package/dist/types/runtime-types/TypeOf.d.ts +1 -1
- package/dist/types/runtime-types/TypeOf.d.ts.map +1 -1
- package/dist/types/runtime-types/TypeToken.d.ts +61 -26
- package/dist/types/runtime-types/TypeToken.d.ts.map +1 -1
- package/dist/types/runtime-types/index.d.ts +1 -2
- package/dist/types/runtime-types/index.d.ts.map +1 -1
- package/dist/types/runtime-types/index.js +1 -2
- package/dist/types/sets/IntersectingKeys.d.ts +5 -3
- package/dist/types/sets/IntersectingKeys.d.ts.map +1 -1
- package/dist/types/sets/Intersection.d.ts +43 -21
- package/dist/types/sets/Intersection.d.ts.map +1 -1
- package/dist/types/sets/Relate.d.ts.map +1 -1
- package/dist/types/sets/Unique.d.ts +18 -33
- package/dist/types/sets/Unique.d.ts.map +1 -1
- package/dist/types/sets/index.d.ts +0 -3
- package/dist/types/sets/index.d.ts.map +1 -1
- package/dist/types/sets/index.js +0 -3
- package/dist/types/string-literals/{RemainingChars.d.ts → AfterFirstChar.d.ts} +4 -4
- package/dist/types/string-literals/AfterFirstChar.d.ts.map +1 -0
- package/dist/types/string-literals/Chars.d.ts +7 -2
- package/dist/types/string-literals/Chars.d.ts.map +1 -1
- package/dist/types/string-literals/Concat.d.ts +3 -3
- package/dist/types/string-literals/Concat.d.ts.map +1 -1
- package/dist/types/string-literals/Date.d.ts +7 -12
- package/dist/types/string-literals/Date.d.ts.map +1 -1
- package/dist/types/string-literals/DateTime.d.ts +12 -5
- package/dist/types/string-literals/DateTime.d.ts.map +1 -1
- package/dist/types/string-literals/EnsureLeading.d.ts +17 -8
- package/dist/types/string-literals/EnsureLeading.d.ts.map +1 -1
- package/dist/types/string-literals/EnsureSurround.d.ts +10 -0
- package/dist/types/string-literals/EnsureSurround.d.ts.map +1 -0
- package/dist/types/string-literals/EnsureTrailing.d.ts +9 -3
- package/dist/types/string-literals/EnsureTrailing.d.ts.map +1 -1
- package/dist/types/string-literals/FirstChar.d.ts +14 -17
- package/dist/types/string-literals/FirstChar.d.ts.map +1 -1
- package/dist/types/string-literals/Join.d.ts +3 -4
- package/dist/types/string-literals/Join.d.ts.map +1 -1
- package/dist/types/string-literals/LastChar.d.ts +14 -14
- package/dist/types/string-literals/LastChar.d.ts.map +1 -1
- package/dist/types/string-literals/PathJoin.d.ts +9 -3
- package/dist/types/string-literals/PathJoin.d.ts.map +1 -1
- package/dist/types/string-literals/Pluralize.d.ts +3 -3
- package/dist/types/string-literals/Pluralize.d.ts.map +1 -1
- package/dist/types/string-literals/Split.d.ts +23 -23
- package/dist/types/string-literals/Split.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 +2 -2
- package/dist/types/string-literals/StripBefore.d.ts.map +1 -1
- package/dist/types/string-literals/StripLeading.d.ts +6 -7
- package/dist/types/string-literals/StripLeading.d.ts.map +1 -1
- package/dist/types/string-literals/StripTrailing.d.ts +9 -9
- package/dist/types/string-literals/StripTrailing.d.ts.map +1 -1
- package/dist/types/string-literals/Suggest.d.ts +4 -2
- package/dist/types/string-literals/Suggest.d.ts.map +1 -1
- package/dist/types/string-literals/Surround.d.ts +6 -6
- package/dist/types/string-literals/Surround.d.ts.map +1 -1
- package/dist/types/string-literals/Time.d.ts +87 -30
- package/dist/types/string-literals/Time.d.ts.map +1 -1
- package/dist/types/string-literals/Truncate.d.ts +3 -3
- package/dist/types/string-literals/Truncate.d.ts.map +1 -1
- package/dist/types/string-literals/casing/AllCaps.d.ts +2 -2
- package/dist/types/string-literals/casing/AllCaps.d.ts.map +1 -1
- package/dist/types/string-literals/casing/CamelCase.d.ts +2 -2
- package/dist/types/string-literals/casing/CamelCase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/KebabCase.d.ts +1 -1
- package/dist/types/string-literals/casing/KebabCase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/KebabCase.js +0 -1
- package/dist/types/string-literals/casing/SnakeCase.d.ts +4 -4
- package/dist/types/string-literals/casing/SnakeCase.d.ts.map +1 -1
- package/dist/types/string-literals/casing/index.d.ts +0 -1
- package/dist/types/string-literals/casing/index.d.ts.map +1 -1
- package/dist/types/string-literals/casing/index.js +0 -1
- package/dist/types/string-literals/character-sets/Alpha.d.ts +2 -2
- package/dist/types/string-literals/character-sets/Alpha.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/BCP.d.ts +12 -0
- package/dist/types/string-literals/character-sets/BCP.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/DomainName.d.ts +3 -3
- package/dist/types/string-literals/character-sets/DomainName.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/DotPathFor.d.ts +6 -17
- package/dist/types/string-literals/character-sets/DotPathFor.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Hexadecimal.d.ts +7 -5
- package/dist/types/string-literals/character-sets/Hexadecimal.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/IpAddress.d.ts +51 -5
- package/dist/types/string-literals/character-sets/IpAddress.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/LowerAlpha.d.ts +2 -2
- package/dist/types/string-literals/character-sets/LowerAlpha.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/NumericChar.d.ts +9 -0
- package/dist/types/string-literals/character-sets/NumericChar.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/SingularNoun.d.ts +5 -3
- package/dist/types/string-literals/character-sets/SingularNoun.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/Url.d.ts +2 -2
- package/dist/types/string-literals/character-sets/Url.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/ValueAtDotPath.d.ts +3 -8
- package/dist/types/string-literals/character-sets/ValueAtDotPath.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/index.d.ts +0 -1
- package/dist/types/string-literals/character-sets/index.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/index.js +0 -1
- package/dist/types/string-literals/geo/index.d.ts +3 -0
- package/dist/types/string-literals/geo/index.d.ts.map +1 -0
- package/dist/types/string-literals/geo/index.js +2 -0
- package/dist/types/string-literals/geo/state.d.ts +47 -0
- package/dist/types/string-literals/geo/state.d.ts.map +1 -0
- package/dist/types/string-literals/geo/zip.d.ts +24 -0
- package/dist/types/string-literals/geo/zip.d.ts.map +1 -0
- package/dist/types/string-literals/index.d.ts +3 -2
- package/dist/types/string-literals/index.d.ts.map +1 -1
- package/dist/types/string-literals/index.js +3 -2
- package/dist/types/string-literals/options/DropChars.d.ts +24 -0
- package/dist/types/string-literals/options/DropChars.d.ts.map +1 -0
- package/dist/types/string-literals/options/index.d.ts +1 -0
- package/dist/types/string-literals/options/index.d.ts.map +1 -1
- package/dist/types/string-literals/options/index.js +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/tuples/FirstKey.d.ts +2 -2
- package/dist/types/tuples/FirstKey.d.ts.map +1 -1
- package/dist/types/tuples/FirstKeyValue.d.ts +2 -2
- package/dist/types/tuples/FirstKeyValue.d.ts.map +1 -1
- package/dist/types/tuples/FirstOfEach.d.ts +2 -2
- package/dist/types/tuples/FixedLengthArray.d.ts +2 -1
- package/dist/types/tuples/FixedLengthArray.d.ts.map +1 -1
- package/dist/types/tuples/LastOfEach.d.ts +6 -4
- package/dist/types/tuples/LastOfEach.d.ts.map +1 -1
- package/dist/types/tuples/index.d.ts +1 -0
- package/dist/types/tuples/index.d.ts.map +1 -1
- package/dist/types/tuples/index.js +1 -0
- package/dist/types/type-conversion/AsBoolean.d.ts +3 -5
- package/dist/types/type-conversion/AsBoolean.d.ts.map +1 -1
- package/dist/types/type-conversion/AsContainer.d.ts +9 -0
- package/dist/types/type-conversion/AsContainer.d.ts.map +1 -0
- package/dist/types/type-conversion/AsDefined.d.ts +8 -0
- package/dist/types/type-conversion/AsDefined.d.ts.map +1 -0
- package/dist/types/type-conversion/AsDictionary.d.ts +3 -0
- package/dist/types/type-conversion/AsDictionary.d.ts.map +1 -0
- package/dist/types/type-conversion/AsFunction.d.ts +2 -3
- package/dist/types/type-conversion/AsFunction.d.ts.map +1 -1
- package/dist/types/type-conversion/AsNonNull.d.ts +21 -0
- package/dist/types/type-conversion/AsNonNull.d.ts.map +1 -0
- package/dist/types/type-conversion/AsNumber.d.ts +1 -1
- package/dist/types/type-conversion/AsNumber.d.ts.map +1 -1
- package/dist/types/type-conversion/AsObject.d.ts +2 -0
- package/dist/types/type-conversion/AsObject.d.ts.map +1 -0
- package/dist/types/type-conversion/AsObjectKeys.d.ts +15 -0
- package/dist/types/type-conversion/AsObjectKeys.d.ts.map +1 -0
- package/dist/types/type-conversion/AsPropertyKey.d.ts +1 -6
- package/dist/types/type-conversion/AsPropertyKey.d.ts.map +1 -1
- package/dist/types/type-conversion/AsRecord.d.ts +10 -0
- package/dist/types/type-conversion/AsRecord.d.ts.map +1 -0
- package/dist/types/type-conversion/AsRef.d.ts +5 -0
- package/dist/types/type-conversion/AsRef.d.ts.map +1 -0
- package/dist/types/type-conversion/AsString.d.ts +1 -1
- package/dist/types/type-conversion/AsString.d.ts.map +1 -1
- package/dist/types/type-conversion/Awaited.d.ts +1 -1
- package/dist/types/type-conversion/Awaited.d.ts.map +1 -1
- package/dist/types/type-conversion/Break.d.ts +2 -0
- package/dist/types/type-conversion/Break.d.ts.map +1 -1
- package/dist/types/type-conversion/IntersectWithAll.d.ts +3 -3
- package/dist/types/type-conversion/IntersectWithAll.d.ts.map +1 -1
- package/dist/types/type-conversion/LeftWhitespace.d.ts +1 -1
- package/dist/types/type-conversion/LeftWhitespace.d.ts.map +1 -1
- package/dist/types/type-conversion/Merge.d.ts +42 -15
- package/dist/types/type-conversion/Merge.d.ts.map +1 -1
- package/dist/types/type-conversion/MergeObjects.d.ts +3 -3
- package/dist/types/type-conversion/MergeObjects.d.ts.map +1 -1
- package/dist/types/type-conversion/Mutable.d.ts +14 -5
- package/dist/types/type-conversion/Mutable.d.ts.map +1 -1
- package/dist/types/type-conversion/ObjectToKvDict.d.ts.map +1 -1
- package/dist/types/type-conversion/RemoveIndex.js +0 -1
- package/dist/types/type-conversion/ReplaceAll.d.ts +7 -4
- package/dist/types/type-conversion/ReplaceAll.d.ts.map +1 -1
- package/dist/types/type-conversion/ReturnValues.d.ts +2 -2
- package/dist/types/type-conversion/ReturnValues.d.ts.map +1 -1
- package/dist/types/type-conversion/ToBoolean.d.ts +2 -2
- package/dist/types/type-conversion/ToBoolean.d.ts.map +1 -1
- package/dist/types/type-conversion/ToNumber.d.ts +5 -4
- package/dist/types/type-conversion/ToNumber.d.ts.map +1 -1
- package/dist/types/type-conversion/ToString.d.ts +6 -4
- package/dist/types/type-conversion/ToString.d.ts.map +1 -1
- package/dist/types/type-conversion/ToStringArray.d.ts +12 -0
- package/dist/types/type-conversion/ToStringArray.d.ts.map +1 -0
- package/dist/types/type-conversion/ToUnion.js +0 -1
- package/dist/types/type-conversion/UnionFilter.d.ts +27 -0
- package/dist/types/type-conversion/UnionFilter.d.ts.map +1 -0
- package/dist/types/type-conversion/UnionShift.d.ts +22 -0
- package/dist/types/type-conversion/UnionShift.d.ts.map +1 -0
- package/dist/types/type-conversion/UnionToTuple.d.ts +1 -1
- package/dist/types/type-conversion/UnionToTuple.d.ts.map +1 -1
- package/dist/types/type-conversion/ValueOrReturnValue.d.ts +2 -2
- package/dist/types/type-conversion/ValueOrReturnValue.d.ts.map +1 -1
- package/dist/types/type-conversion/Widen.d.ts +43 -7
- package/dist/types/type-conversion/Widen.d.ts.map +1 -1
- package/dist/types/type-conversion/Widen.js +1 -0
- package/dist/types/type-conversion/WidenValues.d.ts +16 -0
- package/dist/types/type-conversion/WidenValues.d.ts.map +1 -0
- package/dist/types/type-conversion/WithDefault.d.ts +2 -2
- package/dist/types/type-conversion/WithDefault.d.ts.map +1 -1
- package/dist/types/type-conversion/form-fields.d.ts +0 -8
- package/dist/types/type-conversion/form-fields.d.ts.map +1 -1
- package/dist/types/type-conversion/index.d.ts +13 -4
- package/dist/types/type-conversion/index.d.ts.map +1 -1
- package/dist/types/type-conversion/index.js +13 -4
- package/package.json +26 -26
- package/dist/runtime/boolean-logic/ifRef.d.ts +0 -13
- package/dist/runtime/boolean-logic/ifRef.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifRef.js +0 -18
- package/dist/runtime/combinators/filter.d.ts +0 -85
- package/dist/runtime/combinators/filter.d.ts.map +0 -1
- package/dist/runtime/combinators/filter.js +0 -118
- package/dist/runtime/dictionary/arrayToKeyLookup.d.ts +0 -12
- package/dist/runtime/dictionary/arrayToKeyLookup.d.ts.map +0 -1
- package/dist/runtime/dictionary/arrayToKeyLookup.js +0 -17
- package/dist/runtime/dictionary/mapValues.d.ts +0 -14
- package/dist/runtime/dictionary/mapValues.d.ts.map +0 -1
- package/dist/runtime/dictionary/mapValues.js +0 -17
- package/dist/runtime/functional/left.d.ts +0 -8
- package/dist/runtime/functional/left.d.ts.map +0 -1
- package/dist/runtime/functional/left.js +0 -6
- package/dist/runtime/functional/right.d.ts +0 -8
- package/dist/runtime/functional/right.d.ts.map +0 -1
- package/dist/runtime/functional/right.js +0 -6
- package/dist/runtime/initializers/createTypeGuard.d.ts +0 -3
- package/dist/runtime/initializers/createTypeGuard.d.ts.map +0 -1
- package/dist/runtime/initializers/createTypeGuard.js +0 -14
- package/dist/runtime/initializers/createTypeTuple.d.ts +0 -8
- package/dist/runtime/initializers/createTypeTuple.d.ts.map +0 -1
- package/dist/runtime/initializers/createTypeTuple.js +0 -8
- package/dist/runtime/initializers/createValidator.d.ts +0 -6
- package/dist/runtime/initializers/createValidator.d.ts.map +0 -1
- package/dist/runtime/initializers/createValidator.js +0 -20
- package/dist/runtime/runtime-types/createType.d.ts +0 -40
- package/dist/runtime/runtime-types/createType.d.ts.map +0 -1
- package/dist/runtime/runtime-types/createType.js +0 -116
- package/dist/runtime/runtime-types/describeType.d.ts +0 -13
- package/dist/runtime/runtime-types/describeType.d.ts.map +0 -1
- package/dist/runtime/runtime-types/describeType.js +0 -32
- package/dist/runtime/runtime-types/determineIdentity.d.ts +0 -3
- package/dist/runtime/runtime-types/determineIdentity.d.ts.map +0 -1
- package/dist/runtime/runtime-types/determineIdentity.js +0 -13
- package/dist/runtime/runtime-types/determineType.d.ts +0 -3
- package/dist/runtime/runtime-types/determineType.d.ts.map +0 -1
- package/dist/runtime/runtime-types/determineType.js +0 -50
- package/dist/runtime/runtime-types/kind.d.ts +0 -99
- package/dist/runtime/runtime-types/kind.d.ts.map +0 -1
- package/dist/runtime/runtime-types/kind.js +0 -108
- package/dist/runtime/runtime-types/typeTuples.d.ts +0 -11
- package/dist/runtime/runtime-types/typeTuples.d.ts.map +0 -1
- package/dist/runtime/runtime-types/typeTuples.js +0 -34
- package/dist/runtime/runtime-types/valueTypes.d.ts +0 -28
- package/dist/runtime/runtime-types/valueTypes.d.ts.map +0 -1
- package/dist/runtime/runtime-types/valueTypes.js +0 -20
- package/dist/runtime/state/Configurator.d.ts +0 -39
- package/dist/runtime/state/Configurator.d.ts.map +0 -1
- package/dist/runtime/state/Configurator.js +0 -55
- package/dist/runtime/state/FluentConfigurator.d.ts +0 -28
- package/dist/runtime/state/FluentConfigurator.d.ts.map +0 -1
- package/dist/runtime/state/FluentConfigurator.js +0 -29
- package/dist/runtime/state/index.d.ts +0 -3
- package/dist/runtime/state/index.d.ts.map +0 -1
- package/dist/runtime/state/index.js +0 -10
- package/dist/runtime/type-guards/runtime-type-guards.d.ts +0 -46
- package/dist/runtime/type-guards/runtime-type-guards.d.ts.map +0 -1
- package/dist/runtime/type-guards/runtime-type-guards.js +0 -76
- package/dist/types/base-types/AnyFunction.d.ts +0 -13
- package/dist/types/base-types/AnyFunction.d.ts.map +0 -1
- package/dist/types/base-types/CouldHaveValue.d.ts +0 -14
- package/dist/types/base-types/CouldHaveValue.d.ts.map +0 -1
- package/dist/types/base-types/IdentityFunction.d.ts.map +0 -1
- package/dist/types/base-types/IndexedObject.d.ts +0 -3
- package/dist/types/base-types/IndexedObject.d.ts.map +0 -1
- package/dist/types/base-types/fns/NarrowingFn.d.ts +0 -10
- package/dist/types/base-types/fns/NarrowingFn.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfAnd.d.ts +0 -14
- package/dist/types/boolean-logic/branching/IfAnd.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfArray.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfArray.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfBoolean.d.ts +0 -3
- package/dist/types/boolean-logic/branching/IfBoolean.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfBooleanLiteral.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfBooleanLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfChar.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfChar.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfContainer.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfContainer.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfContains.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfContains.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfDefined.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfDefined.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfDoesNotExtend.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfDoesNotExtend.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfDotPath.d.ts +0 -14
- package/dist/types/boolean-logic/branching/IfDotPath.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfEmptyContainer.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfEmptyContainer.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfEmptyObject.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfEmptyObject.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfEqualLength.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfEqualLength.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfError.d.ts +0 -15
- package/dist/types/boolean-logic/branching/IfError.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfExtends.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfExtends.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfExtendsAll.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfExtendsAll.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfExtendsSome.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfExtendsSome.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfFalse.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfFalse.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfFalsy.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfFalsy.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfFnWithParams.d.ts +0 -14
- package/dist/types/boolean-logic/branching/IfFnWithParams.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfFnWithoutParams.d.ts +0 -16
- package/dist/types/boolean-logic/branching/IfFnWithoutParams.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfFunction.d.ts +0 -14
- package/dist/types/boolean-logic/branching/IfFunction.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfGreaterThan.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfGreaterThan.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfHasCharacters.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfHasCharacters.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfIndexAt.d.ts +0 -62
- package/dist/types/boolean-logic/branching/IfIndexAt.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfIndexable.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfIndexable.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfLessThan.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfLessThan.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfLiteral.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfMaybeFalse.d.ts +0 -13
- package/dist/types/boolean-logic/branching/IfMaybeFalse.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfMaybeTrue.d.ts +0 -13
- package/dist/types/boolean-logic/branching/IfMaybeTrue.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNarrowlyContains.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfNarrowlyContains.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNegativeNumber.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfNegativeNumber.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNotEqual.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfNotEqual.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNotError.d.ts +0 -15
- package/dist/types/boolean-logic/branching/IfNotError.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNotLiteral.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfNotLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNotNever.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfNotNever.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNotTuple.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfNotTuple.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNull.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfNull.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNumber.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfNumber.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNumericLiteral.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfNumericLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfObject.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfObject.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfObjectLiteral.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfObjectLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfOptionalScalar.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfOptionalScalar.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfOr.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfOr.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfPositive.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfPositive.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfReadonlyArray.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfReadonlyArray.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfReadonlyObject.d.ts +0 -3
- package/dist/types/boolean-logic/branching/IfReadonlyObject.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfRef.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfRef.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfReturns.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfReturns.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfScalar.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfScalar.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfSingularNoun.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfSingularNoun.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfSomeEqual.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfSomeEqual.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfSomeExtend.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfSomeExtend.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfSomeTruthy.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfSomeTruthy.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfStartsWith.d.ts +0 -13
- package/dist/types/boolean-logic/branching/IfStartsWith.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfString.d.ts +0 -10
- package/dist/types/boolean-logic/branching/IfString.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfStringLiteral.d.ts +0 -20
- package/dist/types/boolean-logic/branching/IfStringLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfSymbol.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfSymbol.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfTrue.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfTrue.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfTruthy.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfTruthy.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfTuple.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfTuple.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfUndefined.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfUndefined.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfUnion.d.ts +0 -8
- package/dist/types/boolean-logic/branching/IfUnion.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfValidDotPath.d.ts +0 -13
- package/dist/types/boolean-logic/branching/IfValidDotPath.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfValidKey.d.ts +0 -32
- package/dist/types/boolean-logic/branching/IfValidKey.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfWide.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfWide.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/Includes.d.ts +0 -13
- package/dist/types/boolean-logic/operators/Includes.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsChar.d.ts +0 -8
- package/dist/types/boolean-logic/operators/IsChar.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsError.d.ts +0 -32
- package/dist/types/boolean-logic/operators/IsError.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsIndexable.d.ts +0 -10
- package/dist/types/boolean-logic/operators/IsIndexable.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsMaybeTrue.d.ts +0 -14
- package/dist/types/boolean-logic/operators/IsMaybeTrue.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsRef.d.ts +0 -15
- package/dist/types/boolean-logic/operators/IsRef.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsValidKey.d.ts +0 -10
- package/dist/types/boolean-logic/operators/IsValidKey.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/NotCharacters.d.ts +0 -11
- package/dist/types/boolean-logic/operators/NotCharacters.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/OfSameLength.d.ts +0 -28
- package/dist/types/boolean-logic/operators/OfSameLength.d.ts.map +0 -1
- package/dist/types/containers/EmptyContainer.d.ts +0 -11
- package/dist/types/containers/EmptyContainer.d.ts.map +0 -1
- package/dist/types/containers/NonEmptyContainer.d.ts +0 -11
- package/dist/types/containers/NonEmptyContainer.d.ts.map +0 -1
- package/dist/types/containers/WithKey.d.ts +0 -32
- package/dist/types/containers/WithKey.d.ts.map +0 -1
- package/dist/types/dictionary/ExplicitKeys.d.ts +0 -13
- package/dist/types/dictionary/ExplicitKeys.d.ts.map +0 -1
- package/dist/types/dictionary/SameKeys.d.ts +0 -12
- package/dist/types/dictionary/SameKeys.d.ts.map +0 -1
- package/dist/types/errors/ReportError.d.ts +0 -9
- package/dist/types/errors/ReportError.d.ts.map +0 -1
- package/dist/types/errors/ReportError.js +0 -12
- package/dist/types/lists/Append.d.ts +0 -1
- package/dist/types/lists/Append.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveEquals.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RemoveEquals.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveErrors.d.ts +0 -11
- package/dist/types/lists/extractors/2nd-order/RemoveErrors.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveExtends.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RemoveExtends.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveNever.d.ts +0 -11
- package/dist/types/lists/extractors/2nd-order/RemoveNever.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveNotExtends.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RemoveNotExtends.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RemoveStrings.d.ts +0 -8
- package/dist/types/lists/extractors/2nd-order/RemoveStrings.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RetainEquals.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RetainEquals.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RetainExtends.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RetainExtends.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RetainNotExtends.d.ts +0 -9
- package/dist/types/lists/extractors/2nd-order/RetainNotExtends.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/RetainStrings.d.ts +0 -8
- package/dist/types/lists/extractors/2nd-order/RetainStrings.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/index.d.ts +0 -11
- package/dist/types/lists/extractors/2nd-order/index.d.ts.map +0 -1
- package/dist/types/lists/extractors/2nd-order/index.js +0 -10
- package/dist/types/lists/extractors/ExtractorOp.d.ts +0 -5
- package/dist/types/lists/extractors/ExtractorOp.d.ts.map +0 -1
- package/dist/types/lists/extractors/RemoveFromList.d.ts +0 -36
- package/dist/types/lists/extractors/RemoveFromList.d.ts.map +0 -1
- package/dist/types/lists/extractors/RetainFromList.d.ts +0 -43
- package/dist/types/lists/extractors/RetainFromList.d.ts.map +0 -1
- package/dist/types/lists/extractors/index.d.ts +0 -5
- package/dist/types/lists/extractors/index.d.ts.map +0 -1
- package/dist/types/lists/extractors/index.js +0 -4
- package/dist/types/numeric-literals/Float.d.ts +0 -8
- package/dist/types/numeric-literals/Float.d.ts.map +0 -1
- package/dist/types/numeric-literals/GreaterThan.d.ts +0 -13
- package/dist/types/numeric-literals/GreaterThan.d.ts.map +0 -1
- package/dist/types/runtime-types/LiteralType.d.ts +0 -3
- package/dist/types/runtime-types/LiteralType.d.ts.map +0 -1
- package/dist/types/runtime-types/LiteralType.js +0 -1
- package/dist/types/runtime-types/api/boolean.d.ts +0 -9
- package/dist/types/runtime-types/api/boolean.d.ts.map +0 -1
- package/dist/types/runtime-types/api/boolean.js +0 -1
- package/dist/types/runtime-types/api/index.d.ts +0 -7
- package/dist/types/runtime-types/api/index.d.ts.map +0 -1
- package/dist/types/runtime-types/api/index.js +0 -1
- package/dist/types/runtime-types/api/number.d.ts +0 -4
- package/dist/types/runtime-types/api/number.d.ts.map +0 -1
- package/dist/types/runtime-types/api/number.js +0 -1
- package/dist/types/runtime-types/api/numericLiteral.d.ts +0 -1
- package/dist/types/runtime-types/api/numericLiteral.d.ts.map +0 -1
- package/dist/types/runtime-types/api/numericLiteral.js +0 -22
- package/dist/types/runtime-types/api/string.d.ts +0 -4
- package/dist/types/runtime-types/api/string.d.ts.map +0 -1
- package/dist/types/runtime-types/api/string.js +0 -1
- package/dist/types/runtime-types/api/stringLiteral.d.ts +0 -21
- package/dist/types/runtime-types/api/stringLiteral.d.ts.map +0 -1
- package/dist/types/runtime-types/api/stringLiteral.js +0 -1
- package/dist/types/sets/AllKeys.d.ts +0 -11
- package/dist/types/sets/AllKeys.d.ts.map +0 -1
- package/dist/types/sets/AllKeys.js +0 -1
- package/dist/types/sets/Dedupe.d.ts +0 -18
- package/dist/types/sets/Dedupe.d.ts.map +0 -1
- package/dist/types/sets/Dedupe.js +0 -1
- package/dist/types/sets/SetRemoval.d.ts +0 -13
- package/dist/types/sets/SetRemoval.d.ts.map +0 -1
- package/dist/types/sets/SetRemoval.js +0 -1
- package/dist/types/string-literals/DropChars.d.ts +0 -13
- package/dist/types/string-literals/DropChars.d.ts.map +0 -1
- package/dist/types/string-literals/RemainingChars.d.ts.map +0 -1
- package/dist/types/string-literals/RemainingChars.js +0 -1
- package/dist/types/string-literals/casing/NamingModifier.d.ts +0 -12
- package/dist/types/string-literals/casing/NamingModifier.d.ts.map +0 -1
- package/dist/types/string-literals/casing/NamingModifier.js +0 -1
- package/dist/types/string-literals/character-sets/DotPath.d.ts +0 -22
- package/dist/types/string-literals/character-sets/DotPath.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/DotPath.js +0 -1
- package/dist/types/type-conversion/ArrConcat.d.ts +0 -10
- package/dist/types/type-conversion/ArrConcat.d.ts.map +0 -1
- package/dist/types/type-conversion/ArrConcat.js +0 -1
- package/dist/types/type-conversion/KvDict.d.ts +0 -10
- package/dist/types/type-conversion/KvDict.d.ts.map +0 -1
- package/dist/types/type-conversion/KvDict.js +0 -1
- package/dist/types/type-conversion/ObjValues.d.ts +0 -21
- package/dist/types/type-conversion/ObjValues.d.ts.map +0 -1
- package/dist/types/type-conversion/ObjValues.js +0 -1
- package/dist/types/type-conversion/WidenProps.d.ts +0 -11
- package/dist/types/type-conversion/WidenProps.d.ts.map +0 -1
- package/dist/types/type-conversion/WidenProps.js +0 -1
- /package/dist/types/base-types/{AnyFunction.js → Dictionary.js} +0 -0
- /package/dist/types/base-types/{CouldHaveValue.js → List.js} +0 -0
- /package/dist/types/base-types/{IdentityFunction.js → NonArray.js} +0 -0
- /package/dist/types/base-types/{IndexedObject.js → fns/AnyFnWithDict.js} +0 -0
- /package/dist/types/base-types/{IdentityFunction.d.ts → fns/IdentityFunction.d.ts} +0 -0
- /package/dist/types/base-types/fns/{NarrowingFn.js → IdentityFunction.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfAnd.js → base-types/fns/JustFunction.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfArray.js → base-types/fns/TypedFunction.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfBoolean.js → Default.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfBooleanLiteral.js → Fail.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfChar.js → Handle.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfContainer.js → If.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfContains.js → Iff.js} +0 -0
- /package/dist/types/boolean-logic/branching/{IfDefined.js → Passthrough.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfDoesNotExtend.js → combinators/Compare.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfDotPath.js → narrowing/As.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfEmptyContainer.js → narrowing/AsDoneFn.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfEmptyObject.js → narrowing/AsSomething.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfEqualLength.js → operators/AllNumericLiterals.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfError.js → operators/AllStringLiterals.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfExtends.js → operators/AreSameLength.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfExtendsAll.js → operators/AreSameType.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfExtendsSome.js → operators/Extends.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfFalse.js → operators/HasIndex.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfFalsy.js → operators/HasOtherCharacters.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfFnWithParams.js → operators/HasProp.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfFnWithoutParams.js → operators/HasRequiredProps.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfFunction.js → operators/HasSameKeys.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfGreaterThan.js → operators/HasWideValues.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfHasCharacters.js → operators/IsFloat.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfIndexAt.js → operators/IsHexadecimal.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfIndexable.js → operators/IsInteger.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfLessThan.js → operators/IsIterable.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfLiteral.js → operators/IsLiteralFn.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfMaybeFalse.js → operators/IsLiteralUnion.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfMaybeTrue.js → operators/IsNarrowingFn.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNarrowlyContains.js → operators/IsNonLiteralUnion.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNegativeNumber.js → operators/IsNothing.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNotEqual.js → operators/IsSingleChar.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNotError.js → operators/IsValidIndex.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNotLiteral.js → operators/IsVueRef.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNotNever.js → operators/IsWideUnion.js} +0 -0
- /package/dist/types/boolean-logic/{branching/IfNotTuple.js → operators/Validate.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfNull.js → classes/KlassMeta.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfNumber.js → containers/IsEmptyContainer.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfNumericLiteral.js → containers/IsNonEmptyContainer.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfObject.js → containers/RemoveMarked.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order → containers}/RemoveNever.js +0 -0
- /package/dist/types/{boolean-logic/branching/IfObjectLiteral.js → containers/RemoveUndefined.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfOptionalScalar.js → dictionary/CreateKV.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfOr.js → dictionary/CreateLookup.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfPositive.js → dictionary/EnsureKeys.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfReadonlyArray.js → dictionary/KvFn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfReadonlyObject.js → dictionary/MakeKeysOptional.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfRef.js → dictionary/MergeKVs.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfReturns.js → dictionary/TakeProp.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfScalar.js → dictionary/Values.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfSingularNoun.js → errors/CompleteError.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfSomeEqual.js → errors/KindError.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfSomeExtend.js → errors/MapError.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfSomeTruthy.js → errors/PartialError.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfStartsWith.js → errors/ProxyError.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfString.js → errors/StackTrace.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfStringLiteral.js → errors/Throw.js} +0 -0
- /package/dist/types/{lists/Append.js → functional/Option.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfSymbol.js → functions/Fn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfTrue.js → functions/FnFrom.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfTruthy.js → functions/HandleDoneFn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfTuple.js → functions/IdentityFn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfUndefined.js → functions/LiteralFn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfUnion.js → functions/NarrowingFn.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfValidDotPath.js → functions/OnlyFnProps.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfValidKey.js → lists/FilterLiterals.js} +0 -0
- /package/dist/types/{boolean-logic/branching/IfWide.js → lists/FilterWideTypes.js} +0 -0
- /package/dist/types/{boolean-logic/operators/Includes.js → lists/Push.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsChar.js → lists/RetainLiterals.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsError.js → lists/RetainWideTypes.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsIndexable.js → lists/Second.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsMaybeTrue.js → literals/Choices.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsRef.js → literals/DoneFnTuple.js} +0 -0
- /package/dist/types/{boolean-logic/operators/IsValidKey.js → literals/FromDefn.js} +0 -0
- /package/dist/types/{boolean-logic/operators/NotCharacters.js → literals/FromTokenNames.js} +0 -0
- /package/dist/types/{boolean-logic/operators/OfSameLength.js → literals/Narrow.js} +0 -0
- /package/dist/types/{containers/EmptyContainer.js → literals/RuntimeUnion.js} +0 -0
- /package/dist/types/{lists/extractors/RetainFromList.js → literals/Shape.js} +0 -0
- /package/dist/types/{containers/NonEmptyContainer.js → string-literals/AfterFirstChar.js} +0 -0
- /package/dist/types/{containers/WithKey.js → string-literals/EnsureSurround.js} +0 -0
- /package/dist/types/{dictionary/ExplicitKeys.js → string-literals/character-sets/BCP.js} +0 -0
- /package/dist/types/{dictionary/SameKeys.js → string-literals/geo/state.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RemoveEquals.js → string-literals/geo/zip.js} +0 -0
- /package/dist/types/string-literals/{DropChars.js → options/DropChars.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RemoveErrors.js → type-conversion/AsContainer.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RemoveExtends.js → type-conversion/AsDefined.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RemoveNotExtends.js → type-conversion/AsDictionary.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RemoveStrings.js → type-conversion/AsNonNull.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RetainEquals.js → type-conversion/AsObject.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RetainExtends.js → type-conversion/AsObjectKeys.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RetainNotExtends.js → type-conversion/AsRecord.js} +0 -0
- /package/dist/types/{lists/extractors/2nd-order/RetainStrings.js → type-conversion/AsRef.js} +0 -0
- /package/dist/types/{lists/extractors/ExtractorOp.js → type-conversion/ToStringArray.js} +0 -0
- /package/dist/types/{lists/extractors/RemoveFromList.js → type-conversion/UnionFilter.js} +0 -0
- /package/dist/types/{numeric-literals/Float.js → type-conversion/UnionShift.js} +0 -0
- /package/dist/types/{numeric-literals/GreaterThan.js → type-conversion/WidenValues.js} +0 -0
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { asArray, ifLength, ifUndefined, isTrue, toCamelCase } from "../index.js";
|
|
2
|
-
const t = (token) => {
|
|
3
|
-
return token;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* encodes all CSV values to ensure that the `,` character is
|
|
7
|
-
* replaced with `,` placeholder
|
|
8
|
-
*/
|
|
9
|
-
export function encodeCsvValue(input) {
|
|
10
|
-
return input.replace(/\,/g, ",");
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* decodes all CSV values to ensure that the `,` placeholder
|
|
14
|
-
* value is converted back to an actual `,` character
|
|
15
|
-
*/
|
|
16
|
-
export function decodeCsvValue(input) {
|
|
17
|
-
return input.replace(/,/g, ",");
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* **kind**
|
|
21
|
-
*
|
|
22
|
-
* An API surface for creating a `TypeToken` for the runtime and the represented _type_
|
|
23
|
-
* to the type system.
|
|
24
|
-
*
|
|
25
|
-
* ### Example
|
|
26
|
-
* ```ts
|
|
27
|
-
* const val: string = kind.string(); // type system sees a string
|
|
28
|
-
* if (isTypeToken(val)) {
|
|
29
|
-
* // this type guard will PASS and transform the type
|
|
30
|
-
* // of `val` to it's actual runtime value of `<<string>>`
|
|
31
|
-
* }
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
export const kind = {
|
|
35
|
-
/**
|
|
36
|
-
* **string**(_literals_)
|
|
37
|
-
*
|
|
38
|
-
* create a wide `string` type or add parameters to create a string literal
|
|
39
|
-
* or a union of string literals.
|
|
40
|
-
*/
|
|
41
|
-
string(...literals) {
|
|
42
|
-
return ifLength(asArray(literals), 0, () => t("<<string>>"), () => t(`<<stringLiteral:${literals.map(encodeCsvValue).join(",")}>>`));
|
|
43
|
-
},
|
|
44
|
-
/**
|
|
45
|
-
* **number**(_literals_)
|
|
46
|
-
*
|
|
47
|
-
* create a token for a wide `number` type or add parameters to create a
|
|
48
|
-
* numeric literal or union of numeric literals.
|
|
49
|
-
*/
|
|
50
|
-
number(...literals) {
|
|
51
|
-
return ifLength(asArray(literals), 0, () => t("<<number>>"), () => t(`<<numericLiteral:${literals.join(",")}>>`));
|
|
52
|
-
},
|
|
53
|
-
/**
|
|
54
|
-
* **numericString**()
|
|
55
|
-
*
|
|
56
|
-
* create a token for a numeric value wrapped as a string literal (`${number}`)
|
|
57
|
-
*/
|
|
58
|
-
numericString() { return t("<<numericString>>"); },
|
|
59
|
-
/**
|
|
60
|
-
* call with no params for wide `boolean` type, add `true` or `false` as param
|
|
61
|
-
* to narrow.
|
|
62
|
-
*/
|
|
63
|
-
boolean: (literal = undefined) => ifUndefined(literal, () => t("<<boolean>>"), () => (isTrue(literal)
|
|
64
|
-
? t("<<true>>")
|
|
65
|
-
: t("<<false>>"))),
|
|
66
|
-
/**
|
|
67
|
-
* **booleanString**()
|
|
68
|
-
*
|
|
69
|
-
* create a token for a boolean value wrapped as a string literal (`${boolean}`)
|
|
70
|
-
*/
|
|
71
|
-
booleanString() { return t("<<booleanString>>"); },
|
|
72
|
-
/**
|
|
73
|
-
* returns a type of `AnyObject`
|
|
74
|
-
*/
|
|
75
|
-
object() { return t("<<object>>"); },
|
|
76
|
-
objectLiteral(obj) { t(`<<objectLiteral:${JSON.stringify(obj)}>>`); },
|
|
77
|
-
emptyObject() { return t("<<emptyObject>>"); },
|
|
78
|
-
function: () => t("<<function>>"),
|
|
79
|
-
array: () => t("<<array>>"),
|
|
80
|
-
tuple(...tuple) {
|
|
81
|
-
return t(`<<tuple:${JSON.stringify(tuple)}>>`);
|
|
82
|
-
},
|
|
83
|
-
/**
|
|
84
|
-
* returns the _undefined_ type
|
|
85
|
-
*/
|
|
86
|
-
undefined() { t("<<undefined>>"); },
|
|
87
|
-
null: () => "<null>",
|
|
88
|
-
literal: (...literals) => literals,
|
|
89
|
-
union: (...union) => `union:${union.join(",")}`,
|
|
90
|
-
explicitType: (typeName) => t(`<<explicitType:${typeName}>>`),
|
|
91
|
-
timeInMinutes: (time) => t(`<<timeInMinutes:${time}>>`),
|
|
92
|
-
/**
|
|
93
|
-
* a string type that _starts with_ an explicit string literal
|
|
94
|
-
*/
|
|
95
|
-
startsWith: (startWith) => t(`<<startsWith:${startWith}>>`),
|
|
96
|
-
/**
|
|
97
|
-
* a string type that _ends with_ an explicit string literal
|
|
98
|
-
*/
|
|
99
|
-
endsWith: (endWith) => t(`<<endsWith:${endWith}>>`),
|
|
100
|
-
// TODO: rethink types like camelCase which cannot be statically typed
|
|
101
|
-
// but instead require a type utility for verification
|
|
102
|
-
/**
|
|
103
|
-
* a string literal which conforms to the `camelCase` capitalization convention
|
|
104
|
-
*/
|
|
105
|
-
camelCase(v) {
|
|
106
|
-
return t(`<<camelCase:${toCamelCase(v)}>>`);
|
|
107
|
-
},
|
|
108
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AlphaChar } from "../../types/index";
|
|
2
|
-
/**
|
|
3
|
-
* **typeTuples**
|
|
4
|
-
*
|
|
5
|
-
* A dictionary of `TypeTuple` definitions
|
|
6
|
-
*/
|
|
7
|
-
export declare const typeTuples: {
|
|
8
|
-
readonly digit: import("../../types/index").TypeTuple<0 | 1 | 2 | 5 | 4 | 3 | 8 | 6 | 7 | 9, "A numeric digit (aka, 0-9)">;
|
|
9
|
-
readonly alpha: import("../../types/index").TypeTuple<AlphaChar, "A alpha (upper or lowercase)">;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=typeTuples.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typeTuples.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/typeTuples.ts"],"names":[],"mappings":"AAEA,OAAO,EAAG,SAAS,EAAW,0BAAwB;AAqCtD;;;;GAIG;AACH,eAAO,MAAM,UAAU;;;CAKb,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { ALPHA_CHARS } from "../../constants/index.js";
|
|
3
|
-
import { createTypeTuple, kind } from "../index.js";
|
|
4
|
-
const digit = createTypeTuple(kind.explicitType("Digit"), (val) => {
|
|
5
|
-
return typeof val === "string" && ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"].includes(val);
|
|
6
|
-
}, "A numeric digit (aka, 0-9)");
|
|
7
|
-
const alpha = createTypeTuple(kind.explicitType("AlphaChar"), (val) => {
|
|
8
|
-
return typeof val === "string" && ALPHA_CHARS.includes(val);
|
|
9
|
-
}, "A alpha (upper or lowercase)");
|
|
10
|
-
// const alphaLowercase = createTypeTuple(
|
|
11
|
-
// runtimeType.explicitType<Join<LowerAlphaChar[]>>(),
|
|
12
|
-
// <T>(val: T): val is T & Lowercase<T> => {
|
|
13
|
-
// return typeof val === "string" && split(val).every(i => LOWER_ALPHA_CHARS.includes(i as LowerAlphaChar));
|
|
14
|
-
// },
|
|
15
|
-
// "A string with lowercase alphabetic characters"
|
|
16
|
-
// );
|
|
17
|
-
// const alphaUppercase = createTypeTuple(
|
|
18
|
-
// runtimeType.explicitType<Join<UpperAlphaChar[]>>(),
|
|
19
|
-
// <T>(val: T): val is T & Join<UpperAlphaChar[]> => {
|
|
20
|
-
// return typeof val === "string" && split(val).every(i => LOWER_ALPHA_CHARS.includes(i as any));
|
|
21
|
-
// },
|
|
22
|
-
// "A string with uppercase alphabetic characters"
|
|
23
|
-
// );
|
|
24
|
-
/**
|
|
25
|
-
* **typeTuples**
|
|
26
|
-
*
|
|
27
|
-
* A dictionary of `TypeTuple` definitions
|
|
28
|
-
*/
|
|
29
|
-
export const typeTuples = {
|
|
30
|
-
digit,
|
|
31
|
-
alpha,
|
|
32
|
-
// alphaLowercase,
|
|
33
|
-
// alphaUppercase
|
|
34
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { AnyFunction, Narrowable } from "../../types/index";
|
|
2
|
-
export type ValueTuple = [type: unknown, narrowable: boolean];
|
|
3
|
-
/**
|
|
4
|
-
* An API surface for choosing a **type** which is defined for run-time
|
|
5
|
-
* use but is translatable to the type system as well.
|
|
6
|
-
*/
|
|
7
|
-
export type ValueTypes = {
|
|
8
|
-
string: [string, false];
|
|
9
|
-
boolean: [];
|
|
10
|
-
};
|
|
11
|
-
export declare const valueTypes: {
|
|
12
|
-
string: [string, false];
|
|
13
|
-
boolean: [boolean, false];
|
|
14
|
-
number: [number, false];
|
|
15
|
-
function: [AnyFunction, false];
|
|
16
|
-
object: [Record<string, unknown>, false];
|
|
17
|
-
array: <T>(arr?: T[]) => [T[], false];
|
|
18
|
-
null: [null, false];
|
|
19
|
-
symbol: [symbol, false];
|
|
20
|
-
undefined: [undefined, false];
|
|
21
|
-
true: [true, true];
|
|
22
|
-
false: [false, true];
|
|
23
|
-
/** pass in a literal type */
|
|
24
|
-
literal: <N extends Narrowable, T_1 extends string | number | boolean | symbol | Record<PropertyKey, N> | null | undefined>(v: T_1) => [T_1, true];
|
|
25
|
-
literalArray: <N_1 extends Narrowable, T_2 extends string | number | boolean | symbol | Record<PropertyKey, N_1> | null | undefined>(arr: T_2[]) => (boolean | T_2[])[];
|
|
26
|
-
};
|
|
27
|
-
export type ValueTypeFunc<N extends Narrowable, T extends Record<PropertyKey, N> | number | string | boolean | symbol | null | AnyFunction> = (v: ValueTypes) => [T, boolean];
|
|
28
|
-
//# sourceMappingURL=valueTypes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"valueTypes.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-types/valueTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,0BAAwB;AAE1D,MAAM,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;AAE9D;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACxB,OAAO,EAAE,EAAE,CAAC;CACb,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;IAcrB,6BAA6B;;;CAe9B,CAAC;AAEF,MAAM,MAAM,aAAa,CACvB,CAAC,SAAS,UAAU,EACpB,CAAC,SAAS,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,WAAW,IACxF,CAAC,CAAC,EAAE,UAAU,KAAK,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const valueTypes = {
|
|
2
|
-
// WIDE
|
|
3
|
-
string: ["", false],
|
|
4
|
-
boolean: [true, false],
|
|
5
|
-
number: [0, false],
|
|
6
|
-
function: [(() => ""), false],
|
|
7
|
-
object: [{}, false],
|
|
8
|
-
array: (arr = []) => [arr, false],
|
|
9
|
-
null: [null, false],
|
|
10
|
-
symbol: [Symbol("type"), false],
|
|
11
|
-
undefined: [undefined, false],
|
|
12
|
-
// NARROW
|
|
13
|
-
true: [true, true],
|
|
14
|
-
false: [false, true],
|
|
15
|
-
/** pass in a literal type */
|
|
16
|
-
literal: (v) => {
|
|
17
|
-
return [v, true];
|
|
18
|
-
},
|
|
19
|
-
literalArray: (arr) => [arr, true],
|
|
20
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ExpandRecursively } from "../../types/index";
|
|
2
|
-
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
3
|
-
export interface IConfigurator<C = {}> {
|
|
4
|
-
set<V, K extends string, KV = {
|
|
5
|
-
[U in K]: V;
|
|
6
|
-
}>(key: K, value: V): asserts this is IConfigurator<ExpandRecursively<C & KV>>;
|
|
7
|
-
remove<K extends string & keyof C>(key: K): asserts this is IConfigurator<ExpandRecursively<Omit<C, K>>>;
|
|
8
|
-
done(): C;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* **Configurator**
|
|
12
|
-
*
|
|
13
|
-
* This function provides a configurator which uses TypeScript assertions
|
|
14
|
-
* to narrow the scope of variables. Using type assertions though means we
|
|
15
|
-
* can't also return values and therefore a _fluent_ API style is not possible.
|
|
16
|
-
*
|
|
17
|
-
* Note: this approach does require, that you explicitly use the `IConfigurator`
|
|
18
|
-
* interface exported by this library. Without it you'd getting annoying TS errors
|
|
19
|
-
* on every call to `set()` but adding it is simple enough:
|
|
20
|
-
*
|
|
21
|
-
* ```ts
|
|
22
|
-
* import { Configurator, IConfigurator } from "inferred-types";
|
|
23
|
-
* const config: IConfigurator = Configurator();
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* If you want to specify some guideline params which you expect to be set, you
|
|
27
|
-
* can add them like so:
|
|
28
|
-
*
|
|
29
|
-
* ```ts
|
|
30
|
-
* export type IExpected = { foo: number, bar: string };
|
|
31
|
-
* const config: IConfigurator<IExpected> = Configurator<IExpected>();
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* This configuration will ensure that `foo` and `bar` will be seen as optional
|
|
35
|
-
* parameters. If you set them they will stop being optional.
|
|
36
|
-
*/
|
|
37
|
-
export declare function Configurator(): IConfigurator<{}>;
|
|
38
|
-
export {};
|
|
39
|
-
//# sourceMappingURL=Configurator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Configurator.d.ts","sourceRoot":"","sources":["../../../src/runtime/state/Configurator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,0BAAwB;AAEpD,KAAK,IAAI,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAS/D,MAAM,WAAW,aAAa,CAAC,CAAC,GAAG,EAAE;IACnC,GAAG,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,EAAE,EAAE,GAAG;SAAG,CAAC,IAAI,CAAC,GAAG,CAAC;KAAE,EAC3C,GAAG,EAAE,CAAC,EACN,KAAK,EAAE,CAAC,GACP,OAAO,CAAC,IAAI,IAAI,aAAa,CAAC,iBAAiB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAC5D,MAAM,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,EAC/B,GAAG,EAAE,CAAC,GACL,OAAO,CAAC,IAAI,IAAI,aAAa,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAChE,IAAI,IAAI,CAAC,CAAC;CACX;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,YAAY,sBA0B3B"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
function omit(obj, ...removals) {
|
|
2
|
-
const untyped = removals;
|
|
3
|
-
return Object.fromEntries(Object.entries(obj).filter(([key]) => !untyped.includes(key)));
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* **Configurator**
|
|
7
|
-
*
|
|
8
|
-
* This function provides a configurator which uses TypeScript assertions
|
|
9
|
-
* to narrow the scope of variables. Using type assertions though means we
|
|
10
|
-
* can't also return values and therefore a _fluent_ API style is not possible.
|
|
11
|
-
*
|
|
12
|
-
* Note: this approach does require, that you explicitly use the `IConfigurator`
|
|
13
|
-
* interface exported by this library. Without it you'd getting annoying TS errors
|
|
14
|
-
* on every call to `set()` but adding it is simple enough:
|
|
15
|
-
*
|
|
16
|
-
* ```ts
|
|
17
|
-
* import { Configurator, IConfigurator } from "inferred-types";
|
|
18
|
-
* const config: IConfigurator = Configurator();
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* If you want to specify some guideline params which you expect to be set, you
|
|
22
|
-
* can add them like so:
|
|
23
|
-
*
|
|
24
|
-
* ```ts
|
|
25
|
-
* export type IExpected = { foo: number, bar: string };
|
|
26
|
-
* const config: IConfigurator<IExpected> = Configurator<IExpected>();
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* This configuration will ensure that `foo` and `bar` will be seen as optional
|
|
30
|
-
* parameters. If you set them they will stop being optional.
|
|
31
|
-
*/
|
|
32
|
-
export function Configurator() {
|
|
33
|
-
let configuration = () => ({});
|
|
34
|
-
const api = () => {
|
|
35
|
-
return {
|
|
36
|
-
set(key, value) {
|
|
37
|
-
const keyValue = { [key]: value };
|
|
38
|
-
const config = configuration();
|
|
39
|
-
const updated = { ...config, ...keyValue };
|
|
40
|
-
configuration = () => updated;
|
|
41
|
-
return updated;
|
|
42
|
-
},
|
|
43
|
-
remove(key) {
|
|
44
|
-
const config = configuration();
|
|
45
|
-
const updated = omit(config, key);
|
|
46
|
-
configuration = () => updated;
|
|
47
|
-
return updated;
|
|
48
|
-
},
|
|
49
|
-
done() {
|
|
50
|
-
return configuration();
|
|
51
|
-
},
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
return api();
|
|
55
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ExpandRecursively } from "../../types/index";
|
|
2
|
-
export interface IFluentConfigurator<C> {
|
|
3
|
-
/**
|
|
4
|
-
* **set**
|
|
5
|
-
*
|
|
6
|
-
* Sets a new key/value pair to the configurator.
|
|
7
|
-
*
|
|
8
|
-
* @param key the key to put this new configuration item
|
|
9
|
-
* @param value the value of the configuration item
|
|
10
|
-
*/
|
|
11
|
-
set<V, K extends string, KV = {
|
|
12
|
-
[U in K]: V;
|
|
13
|
-
}>(key: K, value: V): IFluentConfigurator<C & KV>;
|
|
14
|
-
done(): ExpandRecursively<C>;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* This function will return a basic _configurator_ API surface which allows
|
|
18
|
-
* you to add name/value pairs to a growing dictionary of strongly typed data.
|
|
19
|
-
*
|
|
20
|
-
* When configuration is complete, you call the `done()` endpoint and the typed
|
|
21
|
-
* configuration will be returned with the API removed.
|
|
22
|
-
*
|
|
23
|
-
* > **Note:** the approach taken here requires that you configure using a **fluent style**
|
|
24
|
-
* exclusively. If you don't the non-fluent properties set will not show up
|
|
25
|
-
* in the typing or the run-time object.
|
|
26
|
-
*/
|
|
27
|
-
export declare function FluentConfigurator<I>(initial?: I): IFluentConfigurator<{}>;
|
|
28
|
-
//# sourceMappingURL=FluentConfigurator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FluentConfigurator.d.ts","sourceRoot":"","sources":["../../../src/runtime/state/FluentConfigurator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,0BAAwB;AAEpD,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACpC;;;;;;;OAOG;IACH,GAAG,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,EAAE,EAAE,GAAG;SAAG,CAAC,IAAI,CAAC,GAAG,CAAC;KAAE,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,mBAAmB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IAC9F,IAAI,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAC;CAC9B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAE,CAAW,2BAsBzD"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This function will return a basic _configurator_ API surface which allows
|
|
3
|
-
* you to add name/value pairs to a growing dictionary of strongly typed data.
|
|
4
|
-
*
|
|
5
|
-
* When configuration is complete, you call the `done()` endpoint and the typed
|
|
6
|
-
* configuration will be returned with the API removed.
|
|
7
|
-
*
|
|
8
|
-
* > **Note:** the approach taken here requires that you configure using a **fluent style**
|
|
9
|
-
* exclusively. If you don't the non-fluent properties set will not show up
|
|
10
|
-
* in the typing or the run-time object.
|
|
11
|
-
*/
|
|
12
|
-
export function FluentConfigurator(initial = {}) {
|
|
13
|
-
const api = (current) => {
|
|
14
|
-
return {
|
|
15
|
-
set(key, value) {
|
|
16
|
-
const keyValue = { [key]: value };
|
|
17
|
-
const updated = { ...keyValue, ...current };
|
|
18
|
-
return api(updated);
|
|
19
|
-
},
|
|
20
|
-
done() {
|
|
21
|
-
return current;
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
if (initial && typeof initial !== "object") {
|
|
26
|
-
throw new Error("The FluentConfigurator was passed a non-object based value as the initial value. This is not allowed.");
|
|
27
|
-
}
|
|
28
|
-
return initial ? api(initial) : api({});
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/runtime/state/index.ts"],"names":[],"mappings":"AAMA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// #autoindex
|
|
2
|
-
// #region auto-indexed files
|
|
3
|
-
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 )
|
|
4
|
-
// hash-code: 397c607b
|
|
5
|
-
// file exports
|
|
6
|
-
export * from "./Configurator.js";
|
|
7
|
-
export * from "./FluentConfigurator.js";
|
|
8
|
-
// #endregion auto-indexed files
|
|
9
|
-
// see https://github.com/inocan-group/do-devops/docs/autoindex.md
|
|
10
|
-
// for more info
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Type, TypeDefaultValue, TypeDefn, TypeHasDefaultValue, TypeIsRequired, TypeKind, TypeKindContainerNarrow, TypeKindContainerWide, TypeKindFalsy, TypeKindLiteral, TypeKindWide } from "../../types/index";
|
|
2
|
-
/**
|
|
3
|
-
* **isTypeDefn**()
|
|
4
|
-
*
|
|
5
|
-
* A type guard that validates the passed in variable is some sort of
|
|
6
|
-
* `TypeDefn<T>` type.
|
|
7
|
-
*/
|
|
8
|
-
export declare function isTypeDefn<TKind extends TypeKind, TRequired extends boolean, TDesc extends string = string, TUnderlying extends readonly unknown[] | "no-underlying" = "no-underlying", TDefaultValue extends TypeDefaultValue<TKind, TRequired, TUnderlying> = TypeDefaultValue<TKind, TRequired, TUnderlying>, TValidations extends readonly unknown[] | "no-validations" = readonly unknown[] | "no-validations", TD extends TypeDefn<TKind, TRequired, TDesc, TUnderlying, TDefaultValue, TValidations> = TypeDefn<TKind, TRequired, TDesc, TUnderlying, TDefaultValue, TValidations>>(thing: unknown | TD): thing is TD;
|
|
9
|
-
/**
|
|
10
|
-
* **isRuntimeType**(thing)
|
|
11
|
-
*
|
|
12
|
-
* A type guard which identifies if the value passed in is a `Type` type definition.
|
|
13
|
-
*/
|
|
14
|
-
export declare function isRuntimeType<U extends Type>(thing: unknown | U): thing is U;
|
|
15
|
-
export declare function isObjectType<U extends Type<"object", TypeIsRequired, string>>(thing: unknown): thing is U;
|
|
16
|
-
export declare function isIntersectionType<U extends Type<"intersection", TypeIsRequired, string, readonly Type[]>>(thing: unknown | U): thing is U;
|
|
17
|
-
export declare function isUnionType<U extends Type<"union", TypeIsRequired, string, readonly Type[]>>(thing: unknown | U): thing is U;
|
|
18
|
-
export declare function isTupleType<U extends Type<"tuple", TypeIsRequired, string, readonly Type[]>>(thing: unknown | U): thing is U;
|
|
19
|
-
/** Type Guard to validate that type is a "wide type" (e.g., string, number, boolean) */
|
|
20
|
-
export declare function isWideType<TKind extends TypeKindWide, TRequired extends TypeIsRequired, TUnderlying extends readonly any[] | readonly [], TDesc extends string, U extends Type<TKind, TRequired, TDesc, TUnderlying>>(thing: unknown | U): thing is U;
|
|
21
|
-
/** Type Guard to validate that type is a "falsy type" (e.g., undefined, null) */
|
|
22
|
-
export declare function isFalsyType<TKind extends TypeKindFalsy, TRequired extends TypeIsRequired, TDesc extends string, TUnderlying extends readonly any[] | readonly [], U extends Type<TKind, TRequired, TDesc, TUnderlying>>(thing: unknown | U): thing is U;
|
|
23
|
-
/**
|
|
24
|
-
* **isLiteralType**(t)
|
|
25
|
-
*
|
|
26
|
-
* Type Guard to validate that runtime type is a "literal type"
|
|
27
|
-
* (e.g., string literal, numeric literal, boolean literal, true,
|
|
28
|
-
* false, etc.)
|
|
29
|
-
*/
|
|
30
|
-
export declare function isLiteralType<TKind extends TypeKindLiteral, TRequired extends TypeIsRequired, TDesc extends string, TUnderlying extends readonly unknown[] | readonly [], TDefault extends TypeHasDefaultValue, U extends Type<TKind, TRequired, TDesc, TUnderlying, TDefault>>(thing: unknown | U): thing is U;
|
|
31
|
-
export declare function isStringLiteralType<U extends Type<"stringLiteral", TypeIsRequired, string, readonly string[]>>(thing: unknown | U): thing is U;
|
|
32
|
-
/**
|
|
33
|
-
* Type Guard to validate that type is a "narrow container" (e.g., object, tuple, etc.)
|
|
34
|
-
*/
|
|
35
|
-
export declare function isNarrowContainer<TKind extends TypeKindContainerNarrow, TRequired extends TypeIsRequired, TDesc extends string, TUnderlying extends readonly unknown[] | readonly [], TDefault extends TypeHasDefaultValue, U extends Type<TKind, TRequired, TDesc, TUnderlying, TDefault>>(thing: unknown | U): thing is U;
|
|
36
|
-
/**
|
|
37
|
-
* Type Guard to validate that runtime type has _underlying_ aspects
|
|
38
|
-
* which are being used to define it's type.
|
|
39
|
-
*/
|
|
40
|
-
export declare function hasUnderlyingTypes<TKind extends TypeKindContainerNarrow | TypeKindLiteral, TRequired extends TypeIsRequired, TDesc extends string, TUnderlying extends readonly unknown[] | readonly [], TDefault extends TypeHasDefaultValue, U extends Type<TKind, TRequired, TDesc, TUnderlying, TDefault>>(thing: unknown | U): thing is U;
|
|
41
|
-
/**
|
|
42
|
-
* Type Guard to validate that runtime type has _underlying_ aspects
|
|
43
|
-
* which are being used to define it's type.
|
|
44
|
-
*/
|
|
45
|
-
export declare function hasNoUnderlyingTypes<TKind extends TypeKindWide | TypeKindFalsy | TypeKindContainerWide, TRequired extends TypeIsRequired, TDesc extends string, TUnderlying extends readonly unknown[] | readonly [], TDefault extends TypeHasDefaultValue, U extends Type<TKind, TRequired, TDesc, TUnderlying, TDefault>>(thing: unknown | U): thing is U;
|
|
46
|
-
//# sourceMappingURL=runtime-type-guards.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-type-guards.d.ts","sourceRoot":"","sources":["../../../src/runtime/type-guards/runtime-type-guards.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,IAAI,EACJ,gBAAgB,EAChB,QAAQ,EACR,mBAAmB,EACnB,cAAc,EACd,QAAQ,EACR,uBAAuB,EACvB,qBAAqB,EACrB,aAAa,EACb,eAAe,EACf,YAAY,EACb,0BAAwB;AASzB;;;;;GAKG;AACH,wBAAgB,UAAU,CACxB,KAAK,SAAS,QAAQ,EACtB,SAAS,SAAS,OAAO,EACzB,KAAK,SAAS,MAAM,GAAG,MAAM,EAC7B,WAAW,SAAS,SAAS,OAAO,EAAE,GAAG,eAAe,GAAG,eAAe,EAC1E,aAAa,SAAS,gBAAgB,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,GAAG,gBAAgB,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EACvH,YAAY,SAAS,SAAS,OAAO,EAAE,GAAG,gBAAgB,GAAG,SAAS,OAAO,EAAE,GAAG,gBAAgB,EAClG,EAAE,SAAS,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAG,WAAW,EAAE,aAAa,EAAE,YAAY,CAAC,EACrK,KAAK,EAAE,OAAO,GAAG,EAAE,GAAG,KAAK,IAAI,EAAE,CAMlC;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,CAAC,SAAS,IAAI,EACd,KAAK,EAAE,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAIhC;AAED,wBAAgB,YAAY,CAC1B,CAAC,SAAS,IAAI,CAAC,QAAQ,EAAE,cAAc,EAAE,MAAM,CAAC,EAChD,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,CAAC,CAM5B;AAED,wBAAgB,kBAAkB,CAChC,CAAC,SAAS,IAAI,CAAC,cAAc,EAAE,cAAc,EAAE,MAAM,EAAE,SAAS,IAAI,EAAE,CAAC,EACvE,KAAK,EAAE,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAEhC;AAED,wBAAgB,WAAW,CACzB,CAAC,SAAS,IAAI,CAAC,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,SAAS,IAAI,EAAE,CAAC,EAChE,KAAK,EAAE,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAEhC;AAED,wBAAgB,WAAW,CACzB,CAAC,SAAS,IAAI,CAAC,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,SAAS,IAAI,EAAE,CAAC,EAChE,KAAK,EAAE,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAEhC;AAED,wFAAwF;AACxF,wBAAgB,UAAU,CACxB,KAAK,SAAS,YAAY,EAC1B,SAAS,SAAS,cAAc,EAChC,WAAW,SAAS,SAAS,GAAG,EAAE,GAAG,SAAS,EAAE,EAChD,KAAK,SAAS,MAAM,EACpB,CAAC,SAAS,IAAI,CACZ,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,CACrC,EACD,KAAK,EAAE,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAEhC;AAED,iFAAiF;AACjF,wBAAgB,WAAW,CACzB,KAAK,SAAS,aAAa,EAC3B,SAAS,SAAS,cAAc,EAChC,KAAK,SAAS,MAAM,EACpB,WAAW,SAAS,SAAS,GAAG,EAAE,GAAG,SAAS,EAAE,EAChD,CAAC,SAAS,IAAI,CACZ,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,CACrC,EACD,KAAK,EAAE,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAEhC;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC3B,KAAK,SAAS,eAAe,EAC7B,SAAS,SAAS,cAAc,EAChC,KAAK,SAAS,MAAM,EACpB,WAAW,SAAS,SAAS,OAAO,EAAE,GAAG,SAAS,EAAE,EACpD,QAAQ,SAAS,mBAAmB,EACpC,CAAC,SAAS,IAAI,CACZ,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,CAC/C,EACD,KAAK,EAAE,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAEhC;AAED,wBAAgB,mBAAmB,CACjC,CAAC,SAAS,IAAI,CAAC,eAAe,EAAE,cAAc,EAAE,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,EAC1E,KAAK,EAAE,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAIhC;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,SAAS,uBAAuB,EACrC,SAAS,SAAS,cAAc,EAChC,KAAK,SAAS,MAAM,EACpB,WAAW,SAAS,SAAS,OAAO,EAAE,GAAG,SAAS,EAAE,EACpD,QAAQ,SAAS,mBAAmB,EACpC,CAAC,SAAS,IAAI,CACZ,KAAK,EAAE,SAAS,EAAG,KAAK,EAAG,WAAW,EAAG,QAAQ,CAClD,EACD,KAAK,EAAE,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAEhC;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,SAAS,uBAAuB,GAAG,eAAe,EACvD,SAAS,SAAS,cAAc,EAChC,KAAK,SAAS,MAAM,EACpB,WAAW,SAAS,SAAS,OAAO,EAAE,GAAG,SAAS,EAAE,EACpD,QAAQ,SAAS,mBAAmB,EACpC,CAAC,SAAS,IAAI,CACZ,KAAK,EAAE,SAAS,EAAG,KAAK,EAAG,WAAW,EAAG,QAAQ,CAClD,EACD,KAAK,EAAE,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAEhC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,SAAS,YAAY,GAAG,aAAa,GAAG,qBAAqB,EAClE,SAAS,SAAS,cAAc,EAChC,KAAK,SAAS,MAAM,EACpB,WAAW,SAAS,SAAS,OAAO,EAAE,GAAG,SAAS,EAAE,EACpD,QAAQ,SAAS,mBAAmB,EACpC,CAAC,SAAS,IAAI,CACZ,KAAK,EAAE,SAAS,EAAG,KAAK,EAAG,WAAW,EAAG,QAAQ,CAClD,EACD,KAAK,EAAE,OAAO,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,CAEhC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { FALSY_TYPE_KINDS, LITERAL_TYPE_KINDS, WIDE_TYPE_KINDS, } from "../../constants/index.js";
|
|
3
|
-
/**
|
|
4
|
-
* **isTypeDefn**()
|
|
5
|
-
*
|
|
6
|
-
* A type guard that validates the passed in variable is some sort of
|
|
7
|
-
* `TypeDefn<T>` type.
|
|
8
|
-
*/
|
|
9
|
-
export function isTypeDefn(thing) {
|
|
10
|
-
return (typeof thing === "object" && "kind" in thing && typeof thing.isRequired === "boolean")
|
|
11
|
-
? true
|
|
12
|
-
: false;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* **isRuntimeType**(thing)
|
|
16
|
-
*
|
|
17
|
-
* A type guard which identifies if the value passed in is a `Type` type definition.
|
|
18
|
-
*/
|
|
19
|
-
export function isRuntimeType(thing) {
|
|
20
|
-
return (typeof thing === "object" && "_type" in thing && thing._type === "Type");
|
|
21
|
-
}
|
|
22
|
-
export function isObjectType(thing) {
|
|
23
|
-
return (isRuntimeType(thing) &&
|
|
24
|
-
thing.kind === "object" &&
|
|
25
|
-
Array.isArray(thing.underlying));
|
|
26
|
-
}
|
|
27
|
-
export function isIntersectionType(thing) {
|
|
28
|
-
return isRuntimeType(thing) && thing.kind === "intersection";
|
|
29
|
-
}
|
|
30
|
-
export function isUnionType(thing) {
|
|
31
|
-
return isRuntimeType(thing) && thing.kind === "union";
|
|
32
|
-
}
|
|
33
|
-
export function isTupleType(thing) {
|
|
34
|
-
return isRuntimeType(thing) && thing.kind === "union";
|
|
35
|
-
}
|
|
36
|
-
/** Type Guard to validate that type is a "wide type" (e.g., string, number, boolean) */
|
|
37
|
-
export function isWideType(thing) {
|
|
38
|
-
return isRuntimeType(thing) && WIDE_TYPE_KINDS.includes(thing.kind);
|
|
39
|
-
}
|
|
40
|
-
/** Type Guard to validate that type is a "falsy type" (e.g., undefined, null) */
|
|
41
|
-
export function isFalsyType(thing) {
|
|
42
|
-
return isRuntimeType(thing) && FALSY_TYPE_KINDS.includes(thing.kind);
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* **isLiteralType**(t)
|
|
46
|
-
*
|
|
47
|
-
* Type Guard to validate that runtime type is a "literal type"
|
|
48
|
-
* (e.g., string literal, numeric literal, boolean literal, true,
|
|
49
|
-
* false, etc.)
|
|
50
|
-
*/
|
|
51
|
-
export function isLiteralType(thing) {
|
|
52
|
-
return isRuntimeType(thing) && LITERAL_TYPE_KINDS.includes(thing.kind) && Array.isArray(thing.underlying);
|
|
53
|
-
}
|
|
54
|
-
export function isStringLiteralType(thing) {
|
|
55
|
-
return (isRuntimeType(thing) && thing.kind === "stringLiteral");
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Type Guard to validate that type is a "narrow container" (e.g., object, tuple, etc.)
|
|
59
|
-
*/
|
|
60
|
-
export function isNarrowContainer(thing) {
|
|
61
|
-
return isRuntimeType(thing) && LITERAL_TYPE_KINDS.includes(thing.kind);
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Type Guard to validate that runtime type has _underlying_ aspects
|
|
65
|
-
* which are being used to define it's type.
|
|
66
|
-
*/
|
|
67
|
-
export function hasUnderlyingTypes(thing) {
|
|
68
|
-
return isRuntimeType(thing) && Array.isArray(thing.underlying);
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Type Guard to validate that runtime type has _underlying_ aspects
|
|
72
|
-
* which are being used to define it's type.
|
|
73
|
-
*/
|
|
74
|
-
export function hasNoUnderlyingTypes(thing) {
|
|
75
|
-
return hasUnderlyingTypes(thing) ? false : true;
|
|
76
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AnyObject, EmptyObject } from "../index";
|
|
2
|
-
/**
|
|
3
|
-
* **AnyFunction**`<[TArgs],[TReturn],[TDict]>`
|
|
4
|
-
*
|
|
5
|
-
* A type which is meant to match on _all_ types of functions which can exist.
|
|
6
|
-
* This includes basic functions as well as functions which have KeyValue dictionaries
|
|
7
|
-
* in intersection with them.
|
|
8
|
-
*
|
|
9
|
-
* **Note:** _you may optionally limit the types you are matching by using any of of
|
|
10
|
-
* the optional generics provided_
|
|
11
|
-
*/
|
|
12
|
-
export type AnyFunction<TArgs extends readonly any[] = any[], TReturn = any, TProps extends AnyObject = AnyObject> = TProps extends EmptyObject ? (...args: TArgs) => TReturn : ((...args: TArgs) => TReturn) & TProps;
|
|
13
|
-
//# sourceMappingURL=AnyFunction.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnyFunction.d.ts","sourceRoot":"","sources":["../../../src/types/base-types/AnyFunction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,iBAAwB;AAEzD;;;;;;;;;GASG;AACH,MAAM,MAAM,WAAW,CACrB,KAAK,SAAS,SAAS,GAAG,EAAE,GAAG,GAAG,EAAE,EACpC,OAAO,GAAG,GAAG,EACb,MAAM,SAAS,SAAS,GAAG,SAAS,IAClC,MAAM,SAAS,WAAW,GAC1B,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,GAC3B,CAAC,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,GAAG,MAAM,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Something, Nothing } from "../index";
|
|
2
|
-
/**
|
|
3
|
-
* **CouldHaveValue**
|
|
4
|
-
*
|
|
5
|
-
* This is functionally equivalent to the "unknown" type but expressed in a
|
|
6
|
-
* more explicit manner.
|
|
7
|
-
*
|
|
8
|
-
* From this we see that _unknown_ represents both "nothing" or "something":
|
|
9
|
-
*
|
|
10
|
-
* - nothing: aka, `undefined` or `null`
|
|
11
|
-
* - something: aka, `{}`
|
|
12
|
-
*/
|
|
13
|
-
export type CouldHaveValue = Something | Nothing;
|
|
14
|
-
//# sourceMappingURL=CouldHaveValue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CouldHaveValue.d.ts","sourceRoot":"","sources":["../../../src/types/base-types/CouldHaveValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,iBAAwB;AAErD;;;;;;;;;;GAUG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,OAAO,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityFunction.d.ts","sourceRoot":"","sources":["../../../src/types/base-types/IdentityFunction.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { EmptyObject, IndexableObject, Length } from "../index";
|
|
2
|
-
export type IndexedObject<T extends EmptyObject | IndexableObject = EmptyObject | IndexableObject> = T extends EmptyObject ? never : Length<T> extends 0 ? never : T;
|
|
3
|
-
//# sourceMappingURL=IndexedObject.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IndexedObject.d.ts","sourceRoot":"","sources":["../../../src/types/base-types/IndexedObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAG,eAAe,EAAE,MAAM,EAAE,iBAAwB;AAExE,MAAM,MAAM,aAAa,CACvB,CAAC,SAAS,WAAW,GAAG,eAAe,GAAG,WAAW,GAAG,eAAe,IACrE,CAAC,SAAS,WAAW,GACrB,KAAK,GACL,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,GACjB,KAAK,GACL,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AnyFunction } from "../../index";
|
|
2
|
-
/**
|
|
3
|
-
* **NarrowingFn**`<TParams, TReturn>`
|
|
4
|
-
*
|
|
5
|
-
* Very similar to `BaseFunction` but where the base function's provide narrowing
|
|
6
|
-
* characteristics.
|
|
7
|
-
*/
|
|
8
|
-
export type NarrowingFn<TParams extends readonly unknown[] = readonly unknown[], TReturn = unknown> = <AA extends TParams>(...args: AA) => TReturn;
|
|
9
|
-
export type AsNarrowingFn<TFn extends AnyFunction> = TFn extends NarrowingFn ? TFn : <T extends readonly unknown[]>(...args: T & Parameters<TFn>) => ReturnType<TFn>;
|
|
10
|
-
//# sourceMappingURL=NarrowingFn.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NarrowingFn.d.ts","sourceRoot":"","sources":["../../../../src/types/base-types/fns/NarrowingFn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAwB;AAE9C;;;;;GAKG;AACH,MAAM,MAAM,WAAW,CACrB,OAAO,SAAS,SAAS,OAAO,EAAE,GAAG,SAAS,OAAO,EAAE,EACvD,OAAO,GAAG,OAAO,IACf,CAAC,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,OAAO,CAAC;AAEjD,MAAM,MAAM,aAAa,CACvB,GAAG,SAAS,WAAW,IACrB,GAAG,SAAS,WAAW,GACzB,GAAG,GACH,CAAC,CAAC,SAAS,SAAS,OAAO,EAAE,EAAE,GAAG,IAAI,EAAE,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC,KAAK,UAAU,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { And, LogicFunction } from "../../index";
|
|
2
|
-
/**
|
|
3
|
-
* **IfAnd**`<TConditions[], [IF], [ELSE], [TParams]>`
|
|
4
|
-
*
|
|
5
|
-
* Takes an array of _conditions_ and if all of them evaluate to `true`
|
|
6
|
-
* then the `IF` type is returned otherwise the `ELSE` type.
|
|
7
|
-
*
|
|
8
|
-
* - By default, `IF` is **true** and `ELSE` is **false**.
|
|
9
|
-
* - If `TParams` is passed in -- as a tuple of values -- and a function
|
|
10
|
-
* is encountered in the conditions tuple then `TParams` will be used as
|
|
11
|
-
* parameters passed into the function.
|
|
12
|
-
*/
|
|
13
|
-
export type IfAnd<TConditions extends readonly (boolean | LogicFunction<TParams>)[], IF = true, ELSE = false, TParams extends readonly unknown[] = readonly unknown[]> = [And<TConditions>] extends [true] ? IF : [And<TConditions>] extends [false] ? ELSE : [And<TConditions>] extends [boolean] ? IF | ELSE : ELSE;
|
|
14
|
-
//# sourceMappingURL=IfAnd.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IfAnd.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfAnd.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,oBAAwB;AAErD;;;;;;;;;;GAUG;AACH,MAAM,MAAM,KAAK,CACf,WAAW,SAAS,SAAS,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,EAAE,EACjE,EAAE,GAAG,IAAI,EACT,IAAI,GAAG,KAAK,EACZ,OAAO,SAAS,SAAS,OAAO,EAAE,GAAG,SAAS,OAAO,EAAE,IACrD,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,GACnC,EAAE,GACF,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,GAChC,IAAI,GACJ,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IsArray } from "../../index";
|
|
2
|
-
/**
|
|
3
|
-
* **IfArray**`<T, IF, ELSE>`
|
|
4
|
-
*
|
|
5
|
-
* Type utility which convert to type `IF` or `ELSE` based on whether `T` is an array.
|
|
6
|
-
*/
|
|
7
|
-
export type IfArray<T, IF = T & unknown[], ELSE = Exclude<T, unknown[]>> = IsArray<T> extends true ? IF : ELSE;
|
|
8
|
-
//# sourceMappingURL=IfArray.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IfArray.d.ts","sourceRoot":"","sources":["../../../../src/types/boolean-logic/branching/IfArray.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,oBAAwB;AAG1C;;;;GAIG;AACH,MAAM,MAAM,OAAO,CAAC,CAAC,EACnB,EAAE,GAAG,CAAC,GAAG,OAAO,EAAE,EAClB,IAAI,GAAG,OAAO,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,IAC1B,OAAO,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC"}
|