umt 1.8.2 → 1.9.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/module/Advance/rangeAdvance.js +3 -1
- package/module/Advance/rangeAdvance.js.map +1 -1
- package/module/Array/arraysJoin.d.ts +1 -1
- package/module/Array/arraysJoin.js +1 -1
- package/module/Array/chunk.d.ts +3 -4
- package/module/Array/chunk.js +0 -7
- package/module/Array/chunk.js.map +1 -1
- package/module/Array/first.d.ts +2 -1
- package/module/Array/first.js +1 -1
- package/module/Array/first.js.map +1 -1
- package/module/Array/getArraysCommon.d.ts +2 -2
- package/module/Array/getArraysCommon.js +2 -2
- package/module/Array/getArraysDiff.d.ts +2 -2
- package/module/Array/getArraysDiff.js +2 -2
- package/module/Array/index.d.ts +1 -0
- package/module/Array/index.js +1 -0
- package/module/Array/index.js.map +1 -1
- package/module/Array/pop.d.ts +6 -0
- package/module/Array/pop.js +9 -0
- package/module/Array/pop.js.map +1 -0
- package/module/Array/quickSort.d.ts +8 -6
- package/module/Array/quickSort.js +68 -56
- package/module/Array/quickSort.js.map +1 -1
- package/module/Array/timSort.d.ts +4 -2
- package/module/Array/timSort.js +53 -51
- package/module/Array/timSort.js.map +1 -1
- package/module/Array/zip.d.ts +1 -1
- package/module/Array/zipLongest.d.ts +1 -1
- package/module/Color/cmykToRgba.d.ts +5 -1
- package/module/Color/cmykToRgba.js +5 -1
- package/module/Color/cmykToRgba.js.map +1 -1
- package/module/Color/rgbaToHsla.js +1 -0
- package/module/Color/rgbaToHsla.js.map +1 -1
- package/module/Date/birthday.d.ts +4 -3
- package/module/Date/birthday.js +1 -1
- package/module/Date/birthday.js.map +1 -1
- package/module/Date/dayOfWeek.d.ts +6 -5
- package/module/Date/dayOfWeek.js.map +1 -1
- package/module/Date/getDay.d.ts +1 -1
- package/module/Date/new.d.ts +14 -4
- package/module/Date/new.js.map +1 -1
- package/module/Date/now.d.ts +2 -2
- package/module/Math/addition.js +1 -1
- package/module/Math/addition.js.map +1 -1
- package/module/Math/bitwise.js +3 -3
- package/module/Math/bitwise.js.map +1 -1
- package/module/Math/calculator/calculator.d.ts +2 -4
- package/module/Math/calculator/calculator.js +6 -7
- package/module/Math/calculator/calculator.js.map +1 -1
- package/module/Math/calculator/core.js +1 -1
- package/module/Math/calculator/core.js.map +1 -1
- package/module/Math/division.js +9 -6
- package/module/Math/division.js.map +1 -1
- package/module/Math/factorial.js +3 -5
- package/module/Math/factorial.js.map +1 -1
- package/module/Math/factorize.js +8 -4
- package/module/Math/factorize.js.map +1 -1
- package/module/Math/gcd.d.ts +1 -1
- package/module/Math/gcd.js +1 -1
- package/module/Math/lcm.js +2 -2
- package/module/Math/lcm.js.map +1 -1
- package/module/Math/linearCongruentialGenerator.js +1 -1
- package/module/Math/linearCongruentialGenerator.js.map +1 -1
- package/module/Math/mathSeparator.d.ts +3 -3
- package/module/Math/mathSeparator.js +10 -16
- package/module/Math/mathSeparator.js.map +1 -1
- package/module/Math/max.d.ts +1 -1
- package/module/Math/max.js +1 -1
- package/module/Math/min.d.ts +1 -1
- package/module/Math/min.js +1 -1
- package/module/Math/multiplication.js +1 -1
- package/module/Math/multiplication.js.map +1 -1
- package/module/Math/repeatedTrial.js +2 -2
- package/module/Math/repeatedTrial.js.map +1 -1
- package/module/Math/roundOf.d.ts +2 -2
- package/module/Math/roundOf.js +3 -3
- package/module/Math/roundOf.js.map +1 -1
- package/module/Math/solveEquation.d.ts +2 -1
- package/module/Math/solveEquation.js +2 -1
- package/module/Math/solveEquation.js.map +1 -1
- package/module/Math/subtract.js +1 -1
- package/module/Math/subtract.js.map +1 -1
- package/module/Math/uuidv7.js +3 -3
- package/module/Math/uuidv7.js.map +1 -1
- package/module/Math/valueSwap.js +1 -7
- package/module/Math/valueSwap.js.map +1 -1
- package/module/Math/xoshiro256.js +1 -1
- package/module/Math/xoshiro256.js.map +1 -1
- package/module/Object/has.js +3 -5
- package/module/Object/has.js.map +1 -1
- package/module/Simple/Array/quickSortSimple.d.ts +4 -4
- package/module/Simple/Array/quickSortSimple.js +13 -9
- package/module/Simple/Array/quickSortSimple.js.map +1 -1
- package/module/Simple/Date/birthdaySimple.d.ts +5 -4
- package/module/Simple/Date/birthdaySimple.js.map +1 -1
- package/module/Simple/Date/dayOfWeekSimple.d.ts +11 -5
- package/module/Simple/Date/dayOfWeekSimple.js.map +1 -1
- package/module/Simple/Date/nowSimple.d.ts +3 -2
- package/module/Simple/Date/nowSimple.js.map +1 -1
- package/module/String/deleteSpaces.d.ts +1 -1
- package/module/String/deleteSpaces.js +1 -1
- package/module/String/fromBase64.d.ts +1 -1
- package/module/String/fromBase64.js +1 -1
- package/module/String/toHalfWidth.js +1 -1
- package/module/String/toHalfWidth.js.map +1 -1
- package/module/UA/extractBrowserFromUserAgent.d.ts +2 -0
- package/module/UA/extractBrowserFromUserAgent.js +19 -0
- package/module/UA/extractBrowserFromUserAgent.js.map +1 -0
- package/module/UA/extractDeviceFromUserAgent.d.ts +2 -0
- package/module/UA/extractDeviceFromUserAgent.js +22 -0
- package/module/UA/extractDeviceFromUserAgent.js.map +1 -0
- package/module/UA/extractOSFromUserAgent.d.ts +2 -0
- package/module/UA/extractOSFromUserAgent.js +19 -0
- package/module/UA/extractOSFromUserAgent.js.map +1 -0
- package/module/UA/index.d.ts +4 -0
- package/module/UA/index.js +5 -0
- package/module/UA/index.js.map +1 -0
- package/module/UA/parseUserAgent.d.ts +2 -0
- package/module/UA/parseUserAgent.js +12 -0
- package/module/UA/parseUserAgent.js.map +1 -0
- package/module/Validate/array/core.js +2 -2
- package/module/Validate/array/core.js.map +1 -1
- package/module/Validate/isBrowser.js +1 -1
- package/module/Validate/isBrowser.js.map +1 -1
- package/module/Validate/isBun.js +1 -1
- package/module/Validate/isBun.js.map +1 -1
- package/module/Validate/isNode.js +1 -1
- package/module/Validate/isNode.js.map +1 -1
- package/module/Validate/isNotEmpty.d.ts +1 -1
- package/module/Validate/isNotEmpty.js +1 -1
- package/module/Validate/isNumber.d.ts +1 -1
- package/module/Validate/isNumber.js +1 -1
- package/module/index.d.ts +1 -0
- package/module/index.js +1 -0
- package/module/index.js.map +1 -1
- package/module/types/{arrayType.d.ts → array/chunk.d.ts} +1 -3
- package/module/types/array/chunk.js +2 -0
- package/module/types/array/chunk.js.map +1 -0
- package/module/types/array/index.d.ts +2 -0
- package/module/types/array/index.js +3 -0
- package/module/types/array/index.js.map +1 -0
- package/module/types/array/zip.d.ts +3 -0
- package/module/types/array/zip.js +2 -0
- package/module/types/array/zip.js.map +1 -0
- package/module/types/clock/hoursAm.d.ts +2 -0
- package/module/types/clock/hoursAm.js +2 -0
- package/module/types/clock/hoursAm.js.map +1 -0
- package/module/types/clock/hoursAmInt.d.ts +2 -0
- package/module/types/clock/hoursAmInt.js +2 -0
- package/module/types/clock/hoursAmInt.js.map +1 -0
- package/module/types/clock/hoursPm.d.ts +2 -0
- package/module/types/clock/hoursPm.js +2 -0
- package/module/types/clock/hoursPm.js.map +1 -0
- package/module/types/clock/hoursPmInt.d.ts +1 -0
- package/module/types/clock/hoursPmInt.js +2 -0
- package/module/types/clock/hoursPmInt.js.map +1 -0
- package/module/types/clock/hoursType.d.ts +3 -0
- package/module/types/clock/hoursType.js +2 -0
- package/module/types/clock/hoursType.js.map +1 -0
- package/module/types/clock/hoursTypeInt.d.ts +3 -0
- package/module/types/clock/hoursTypeInt.js +2 -0
- package/module/types/clock/hoursTypeInt.js.map +1 -0
- package/module/types/clock/index.d.ts +12 -0
- package/module/types/clock/index.js +13 -0
- package/module/types/clock/index.js.map +1 -0
- package/module/types/clock/millisecondsType.d.ts +4 -0
- package/module/types/clock/millisecondsType.js +2 -0
- package/module/types/clock/millisecondsType.js.map +1 -0
- package/module/types/clock/millisecondsTypeInt.d.ts +4 -0
- package/module/types/clock/millisecondsTypeInt.js +2 -0
- package/module/types/clock/millisecondsTypeInt.js.map +1 -0
- package/module/types/clock/minutesType.d.ts +7 -0
- package/module/types/clock/minutesType.js +2 -0
- package/module/types/clock/minutesType.js.map +1 -0
- package/module/types/clock/minutesTypeInt.d.ts +7 -0
- package/module/types/clock/minutesTypeInt.js +2 -0
- package/module/types/clock/minutesTypeInt.js.map +1 -0
- package/module/types/clock/secondsType.d.ts +2 -0
- package/module/types/clock/secondsType.js +2 -0
- package/module/types/clock/secondsType.js.map +1 -0
- package/module/types/clock/secondsTypeInt.d.ts +2 -0
- package/module/types/clock/secondsTypeInt.js +2 -0
- package/module/types/clock/secondsTypeInt.js.map +1 -0
- package/module/types/date/convertMonTypeNoZero.d.ts +1 -0
- package/module/types/date/convertMonTypeNoZero.js +2 -0
- package/module/types/date/convertMonTypeNoZero.js.map +1 -0
- package/module/types/date/convertMonTypeZero.d.ts +1 -0
- package/module/types/date/convertMonTypeZero.js +2 -0
- package/module/types/date/convertMonTypeZero.js.map +1 -0
- package/module/types/date/dateType.d.ts +6 -0
- package/module/types/{dateType.js.map → date/dateType.js.map} +1 -1
- package/module/types/date/dayType.d.ts +2 -0
- package/module/types/date/dayType.js +2 -0
- package/module/types/date/dayType.js.map +1 -0
- package/module/types/date/dayTypeInt.d.ts +2 -0
- package/module/types/date/dayTypeInt.js +2 -0
- package/module/types/date/dayTypeInt.js.map +1 -0
- package/module/types/date/index.d.ts +13 -0
- package/module/types/date/index.js +14 -0
- package/module/types/date/index.js.map +1 -0
- package/module/types/date/monType.d.ts +3 -0
- package/module/types/date/monType.js +2 -0
- package/module/types/date/monType.js.map +1 -0
- package/module/types/date/monTypeInt.d.ts +1 -0
- package/module/types/date/monTypeInt.js +2 -0
- package/module/types/date/monTypeInt.js.map +1 -0
- package/module/types/date/monTypeNoZero.d.ts +1 -0
- package/module/types/date/monTypeNoZero.js +2 -0
- package/module/types/date/monTypeNoZero.js.map +1 -0
- package/module/types/date/monTypeZero.d.ts +1 -0
- package/module/types/date/monTypeZero.js +2 -0
- package/module/types/date/monTypeZero.js.map +1 -0
- package/module/types/date/monthsWith31Days.d.ts +2 -0
- package/module/types/date/monthsWith31Days.js +2 -0
- package/module/types/date/monthsWith31Days.js.map +1 -0
- package/module/types/date/monthsWith31DaysInt.d.ts +1 -0
- package/module/types/date/monthsWith31DaysInt.js +2 -0
- package/module/types/date/monthsWith31DaysInt.js.map +1 -0
- package/module/types/date/monthsWithout31Days.d.ts +2 -0
- package/module/types/date/monthsWithout31Days.js +2 -0
- package/module/types/date/monthsWithout31Days.js.map +1 -0
- package/module/types/date/monthsWithout31DaysInt.d.ts +1 -0
- package/module/types/date/monthsWithout31DaysInt.js +2 -0
- package/module/types/date/monthsWithout31DaysInt.js.map +1 -0
- package/module/types/index.d.ts +6 -6
- package/module/types/index.js +6 -6
- package/module/types/index.js.map +1 -1
- package/module/types/int/doubleDigit.d.ts +2 -0
- package/module/types/int/doubleDigit.js +2 -0
- package/module/types/int/doubleDigit.js.map +1 -0
- package/module/types/int/doubleDigitInt.d.ts +10 -0
- package/module/types/int/doubleDigitInt.js +2 -0
- package/module/types/int/doubleDigitInt.js.map +1 -0
- package/module/types/int/fourDigit.d.ts +3 -0
- package/module/types/int/fourDigit.js +2 -0
- package/module/types/int/fourDigit.js.map +1 -0
- package/module/types/int/index.d.ts +108 -0
- package/module/types/int/index.js +109 -0
- package/module/types/int/index.js.map +1 -0
- package/module/types/int/int.d.ts +3 -0
- package/module/types/int/int.js.map +1 -0
- package/module/types/int/intEven.d.ts +1 -0
- package/module/types/int/intEven.js +2 -0
- package/module/types/int/intEven.js.map +1 -0
- package/module/types/int/intOdd.d.ts +1 -0
- package/module/types/int/intOdd.js +2 -0
- package/module/types/int/intOdd.js.map +1 -0
- package/module/types/int/intWithoutZero.d.ts +3 -0
- package/module/types/int/intWithoutZero.js +2 -0
- package/module/types/int/intWithoutZero.js.map +1 -0
- package/module/types/int/tripleDigit.d.ts +2 -0
- package/module/types/int/tripleDigit.js +2 -0
- package/module/types/int/tripleDigit.js.map +1 -0
- package/module/types/int/tripleDigitInt.d.ts +91 -0
- package/module/types/int/tripleDigitInt.js +2 -0
- package/module/types/int/tripleDigitInt.js.map +1 -0
- package/module/types/int/upToEightHundred.d.ts +1 -0
- package/module/types/int/upToEightHundred.js +2 -0
- package/module/types/int/upToEightHundred.js.map +1 -0
- package/module/types/int/upToEightHundredEighty.d.ts +1 -0
- package/module/types/int/upToEightHundredEighty.js +2 -0
- package/module/types/int/upToEightHundredEighty.js.map +1 -0
- package/module/types/int/upToEightHundredFifty.d.ts +1 -0
- package/module/types/int/upToEightHundredFifty.js +2 -0
- package/module/types/int/upToEightHundredFifty.js.map +1 -0
- package/module/types/int/upToEightHundredForty.d.ts +1 -0
- package/module/types/int/upToEightHundredForty.js +2 -0
- package/module/types/int/upToEightHundredForty.js.map +1 -0
- package/module/types/int/upToEightHundredNinety.d.ts +1 -0
- package/module/types/int/upToEightHundredNinety.js +2 -0
- package/module/types/int/upToEightHundredNinety.js.map +1 -0
- package/module/types/int/upToEightHundredSeventy.d.ts +1 -0
- package/module/types/int/upToEightHundredSeventy.js +2 -0
- package/module/types/int/upToEightHundredSeventy.js.map +1 -0
- package/module/types/int/upToEightHundredSixty.d.ts +1 -0
- package/module/types/int/upToEightHundredSixty.js +2 -0
- package/module/types/int/upToEightHundredSixty.js.map +1 -0
- package/module/types/int/upToEightHundredTen.d.ts +1 -0
- package/module/types/int/upToEightHundredTen.js +2 -0
- package/module/types/int/upToEightHundredTen.js.map +1 -0
- package/module/types/int/upToEightHundredThirty.d.ts +1 -0
- package/module/types/int/upToEightHundredThirty.js +2 -0
- package/module/types/int/upToEightHundredThirty.js.map +1 -0
- package/module/types/int/upToEightHundredTwenty.d.ts +1 -0
- package/module/types/int/upToEightHundredTwenty.js +2 -0
- package/module/types/int/upToEightHundredTwenty.js.map +1 -0
- package/module/types/int/upToEighty.d.ts +1 -0
- package/module/types/int/upToEighty.js +2 -0
- package/module/types/int/upToEighty.js.map +1 -0
- package/module/types/int/upToFifty.d.ts +1 -0
- package/module/types/int/upToFifty.js +2 -0
- package/module/types/int/upToFifty.js.map +1 -0
- package/module/types/int/upToFiveHundred.d.ts +1 -0
- package/module/types/int/upToFiveHundred.js +2 -0
- package/module/types/int/upToFiveHundred.js.map +1 -0
- package/module/types/int/upToFiveHundredEighty.d.ts +1 -0
- package/module/types/int/upToFiveHundredEighty.js +2 -0
- package/module/types/int/upToFiveHundredEighty.js.map +1 -0
- package/module/types/int/upToFiveHundredFifty.d.ts +1 -0
- package/module/types/int/upToFiveHundredFifty.js +2 -0
- package/module/types/int/upToFiveHundredFifty.js.map +1 -0
- package/module/types/int/upToFiveHundredForty.d.ts +1 -0
- package/module/types/int/upToFiveHundredForty.js +2 -0
- package/module/types/int/upToFiveHundredForty.js.map +1 -0
- package/module/types/int/upToFiveHundredNinety.d.ts +1 -0
- package/module/types/int/upToFiveHundredNinety.js +2 -0
- package/module/types/int/upToFiveHundredNinety.js.map +1 -0
- package/module/types/int/upToFiveHundredSeventy.d.ts +1 -0
- package/module/types/int/upToFiveHundredSeventy.js +2 -0
- package/module/types/int/upToFiveHundredSeventy.js.map +1 -0
- package/module/types/int/upToFiveHundredSixty.d.ts +1 -0
- package/module/types/int/upToFiveHundredSixty.js +2 -0
- package/module/types/int/upToFiveHundredSixty.js.map +1 -0
- package/module/types/int/upToFiveHundredTen.d.ts +1 -0
- package/module/types/int/upToFiveHundredTen.js +2 -0
- package/module/types/int/upToFiveHundredTen.js.map +1 -0
- package/module/types/int/upToFiveHundredThirty.d.ts +1 -0
- package/module/types/int/upToFiveHundredThirty.js +2 -0
- package/module/types/int/upToFiveHundredThirty.js.map +1 -0
- package/module/types/int/upToFiveHundredTwenty.d.ts +1 -0
- package/module/types/int/upToFiveHundredTwenty.js +2 -0
- package/module/types/int/upToFiveHundredTwenty.js.map +1 -0
- package/module/types/int/upToForty.d.ts +1 -0
- package/module/types/int/upToForty.js +2 -0
- package/module/types/int/upToForty.js.map +1 -0
- package/module/types/int/upToFourHundred.d.ts +1 -0
- package/module/types/int/upToFourHundred.js +2 -0
- package/module/types/int/upToFourHundred.js.map +1 -0
- package/module/types/int/upToFourHundredEighty.d.ts +1 -0
- package/module/types/int/upToFourHundredEighty.js +2 -0
- package/module/types/int/upToFourHundredEighty.js.map +1 -0
- package/module/types/int/upToFourHundredFifty.d.ts +1 -0
- package/module/types/int/upToFourHundredFifty.js +2 -0
- package/module/types/int/upToFourHundredFifty.js.map +1 -0
- package/module/types/int/upToFourHundredForty.d.ts +1 -0
- package/module/types/int/upToFourHundredForty.js +2 -0
- package/module/types/int/upToFourHundredForty.js.map +1 -0
- package/module/types/int/upToFourHundredNinety.d.ts +1 -0
- package/module/types/int/upToFourHundredNinety.js +2 -0
- package/module/types/int/upToFourHundredNinety.js.map +1 -0
- package/module/types/int/upToFourHundredSeventy.d.ts +1 -0
- package/module/types/int/upToFourHundredSeventy.js +2 -0
- package/module/types/int/upToFourHundredSeventy.js.map +1 -0
- package/module/types/int/upToFourHundredSixty.d.ts +1 -0
- package/module/types/int/upToFourHundredSixty.js +2 -0
- package/module/types/int/upToFourHundredSixty.js.map +1 -0
- package/module/types/int/upToFourHundredTen.d.ts +1 -0
- package/module/types/int/upToFourHundredTen.js +2 -0
- package/module/types/int/upToFourHundredTen.js.map +1 -0
- package/module/types/int/upToFourHundredThirty.d.ts +1 -0
- package/module/types/int/upToFourHundredThirty.js +2 -0
- package/module/types/int/upToFourHundredThirty.js.map +1 -0
- package/module/types/int/upToFourHundredTwenty.d.ts +1 -0
- package/module/types/int/upToFourHundredTwenty.js +2 -0
- package/module/types/int/upToFourHundredTwenty.js.map +1 -0
- package/module/types/int/upToHundredEighty.d.ts +1 -0
- package/module/types/int/upToHundredEighty.js +2 -0
- package/module/types/int/upToHundredEighty.js.map +1 -0
- package/module/types/int/upToHundredFifty.d.ts +1 -0
- package/module/types/int/upToHundredFifty.js +2 -0
- package/module/types/int/upToHundredFifty.js.map +1 -0
- package/module/types/int/upToHundredForty.d.ts +1 -0
- package/module/types/int/upToHundredForty.js +2 -0
- package/module/types/int/upToHundredForty.js.map +1 -0
- package/module/types/int/upToHundredNinety.d.ts +1 -0
- package/module/types/int/upToHundredNinety.js +2 -0
- package/module/types/int/upToHundredNinety.js.map +1 -0
- package/module/types/int/upToHundredSeventy.d.ts +1 -0
- package/module/types/int/upToHundredSeventy.js +2 -0
- package/module/types/int/upToHundredSeventy.js.map +1 -0
- package/module/types/int/upToHundredSixty.d.ts +1 -0
- package/module/types/int/upToHundredSixty.js +2 -0
- package/module/types/int/upToHundredSixty.js.map +1 -0
- package/module/types/int/upToHundredTen.d.ts +1 -0
- package/module/types/int/upToHundredTen.js +2 -0
- package/module/types/int/upToHundredTen.js.map +1 -0
- package/module/types/int/upToHundredThirty.d.ts +1 -0
- package/module/types/int/upToHundredThirty.js +2 -0
- package/module/types/int/upToHundredThirty.js.map +1 -0
- package/module/types/int/upToHundredTwenty.d.ts +1 -0
- package/module/types/int/upToHundredTwenty.js +2 -0
- package/module/types/int/upToHundredTwenty.js.map +1 -0
- package/module/types/int/upToNineHundred.d.ts +1 -0
- package/module/types/int/upToNineHundred.js +2 -0
- package/module/types/int/upToNineHundred.js.map +1 -0
- package/module/types/int/upToNineHundredEighty.d.ts +1 -0
- package/module/types/int/upToNineHundredEighty.js +2 -0
- package/module/types/int/upToNineHundredEighty.js.map +1 -0
- package/module/types/int/upToNineHundredFifty.d.ts +1 -0
- package/module/types/int/upToNineHundredFifty.js +2 -0
- package/module/types/int/upToNineHundredFifty.js.map +1 -0
- package/module/types/int/upToNineHundredForty.d.ts +1 -0
- package/module/types/int/upToNineHundredForty.js +2 -0
- package/module/types/int/upToNineHundredForty.js.map +1 -0
- package/module/types/int/upToNineHundredNinety.d.ts +1 -0
- package/module/types/int/upToNineHundredNinety.js +2 -0
- package/module/types/int/upToNineHundredNinety.js.map +1 -0
- package/module/types/int/upToNineHundredNinetyNine.d.ts +1 -0
- package/module/types/int/upToNineHundredNinetyNine.js +2 -0
- package/module/types/int/upToNineHundredNinetyNine.js.map +1 -0
- package/module/types/int/upToNineHundredSeventy.d.ts +1 -0
- package/module/types/int/upToNineHundredSeventy.js +2 -0
- package/module/types/int/upToNineHundredSeventy.js.map +1 -0
- package/module/types/int/upToNineHundredSixty.d.ts +1 -0
- package/module/types/int/upToNineHundredSixty.js +2 -0
- package/module/types/int/upToNineHundredSixty.js.map +1 -0
- package/module/types/int/upToNineHundredTen.d.ts +1 -0
- package/module/types/int/upToNineHundredTen.js +2 -0
- package/module/types/int/upToNineHundredTen.js.map +1 -0
- package/module/types/int/upToNineHundredThirty.d.ts +1 -0
- package/module/types/int/upToNineHundredThirty.js +2 -0
- package/module/types/int/upToNineHundredThirty.js.map +1 -0
- package/module/types/int/upToNineHundredTwenty.d.ts +1 -0
- package/module/types/int/upToNineHundredTwenty.js +2 -0
- package/module/types/int/upToNineHundredTwenty.js.map +1 -0
- package/module/types/int/upToNinety.d.ts +1 -0
- package/module/types/int/upToNinety.js +2 -0
- package/module/types/int/upToNinety.js.map +1 -0
- package/module/types/int/upToNinetyNine.d.ts +1 -0
- package/module/types/int/upToNinetyNine.js +2 -0
- package/module/types/int/upToNinetyNine.js.map +1 -0
- package/module/types/int/upToSevenHundred.d.ts +1 -0
- package/module/types/int/upToSevenHundred.js +2 -0
- package/module/types/int/upToSevenHundred.js.map +1 -0
- package/module/types/int/upToSevenHundredEighty.d.ts +1 -0
- package/module/types/int/upToSevenHundredEighty.js +2 -0
- package/module/types/int/upToSevenHundredEighty.js.map +1 -0
- package/module/types/int/upToSevenHundredFifty.d.ts +1 -0
- package/module/types/int/upToSevenHundredFifty.js +2 -0
- package/module/types/int/upToSevenHundredFifty.js.map +1 -0
- package/module/types/int/upToSevenHundredForty.d.ts +1 -0
- package/module/types/int/upToSevenHundredForty.js +2 -0
- package/module/types/int/upToSevenHundredForty.js.map +1 -0
- package/module/types/int/upToSevenHundredNinety.d.ts +1 -0
- package/module/types/int/upToSevenHundredNinety.js +2 -0
- package/module/types/int/upToSevenHundredNinety.js.map +1 -0
- package/module/types/int/upToSevenHundredSeventy.d.ts +1 -0
- package/module/types/int/upToSevenHundredSeventy.js +2 -0
- package/module/types/int/upToSevenHundredSeventy.js.map +1 -0
- package/module/types/int/upToSevenHundredSixty.d.ts +1 -0
- package/module/types/int/upToSevenHundredSixty.js +2 -0
- package/module/types/int/upToSevenHundredSixty.js.map +1 -0
- package/module/types/int/upToSevenHundredTen.d.ts +1 -0
- package/module/types/int/upToSevenHundredTen.js +2 -0
- package/module/types/int/upToSevenHundredTen.js.map +1 -0
- package/module/types/int/upToSevenHundredThirty.d.ts +1 -0
- package/module/types/int/upToSevenHundredThirty.js +2 -0
- package/module/types/int/upToSevenHundredThirty.js.map +1 -0
- package/module/types/int/upToSevenHundredTwenty.d.ts +1 -0
- package/module/types/int/upToSevenHundredTwenty.js +2 -0
- package/module/types/int/upToSevenHundredTwenty.js.map +1 -0
- package/module/types/int/upToSeventy.d.ts +1 -0
- package/module/types/int/upToSeventy.js +2 -0
- package/module/types/int/upToSeventy.js.map +1 -0
- package/module/types/int/upToSixHundred.d.ts +1 -0
- package/module/types/int/upToSixHundred.js +2 -0
- package/module/types/int/upToSixHundred.js.map +1 -0
- package/module/types/int/upToSixHundredEighty.d.ts +1 -0
- package/module/types/int/upToSixHundredEighty.js +2 -0
- package/module/types/int/upToSixHundredEighty.js.map +1 -0
- package/module/types/int/upToSixHundredFifty.d.ts +1 -0
- package/module/types/int/upToSixHundredFifty.js +2 -0
- package/module/types/int/upToSixHundredFifty.js.map +1 -0
- package/module/types/int/upToSixHundredForty.d.ts +1 -0
- package/module/types/int/upToSixHundredForty.js +2 -0
- package/module/types/int/upToSixHundredForty.js.map +1 -0
- package/module/types/int/upToSixHundredNinety.d.ts +1 -0
- package/module/types/int/upToSixHundredNinety.js +2 -0
- package/module/types/int/upToSixHundredNinety.js.map +1 -0
- package/module/types/int/upToSixHundredSeventy.d.ts +1 -0
- package/module/types/int/upToSixHundredSeventy.js +2 -0
- package/module/types/int/upToSixHundredSeventy.js.map +1 -0
- package/module/types/int/upToSixHundredSixty.d.ts +1 -0
- package/module/types/int/upToSixHundredSixty.js +2 -0
- package/module/types/int/upToSixHundredSixty.js.map +1 -0
- package/module/types/int/upToSixHundredTen.d.ts +1 -0
- package/module/types/int/upToSixHundredTen.js +2 -0
- package/module/types/int/upToSixHundredTen.js.map +1 -0
- package/module/types/int/upToSixHundredThirty.d.ts +1 -0
- package/module/types/int/upToSixHundredThirty.js +2 -0
- package/module/types/int/upToSixHundredThirty.js.map +1 -0
- package/module/types/int/upToSixHundredTwenty.d.ts +1 -0
- package/module/types/int/upToSixHundredTwenty.js +2 -0
- package/module/types/int/upToSixHundredTwenty.js.map +1 -0
- package/module/types/int/upToSixty.d.ts +1 -0
- package/module/types/int/upToSixty.js +2 -0
- package/module/types/int/upToSixty.js.map +1 -0
- package/module/types/int/upToThirty.d.ts +1 -0
- package/module/types/int/upToThirty.js +2 -0
- package/module/types/int/upToThirty.js.map +1 -0
- package/module/types/int/upToThreeHundred.d.ts +1 -0
- package/module/types/int/upToThreeHundred.js +2 -0
- package/module/types/int/upToThreeHundred.js.map +1 -0
- package/module/types/int/upToThreeHundredEighty.d.ts +1 -0
- package/module/types/int/upToThreeHundredEighty.js +2 -0
- package/module/types/int/upToThreeHundredEighty.js.map +1 -0
- package/module/types/int/upToThreeHundredFifty.d.ts +1 -0
- package/module/types/int/upToThreeHundredFifty.js +2 -0
- package/module/types/int/upToThreeHundredFifty.js.map +1 -0
- package/module/types/int/upToThreeHundredForty.d.ts +1 -0
- package/module/types/int/upToThreeHundredForty.js +2 -0
- package/module/types/int/upToThreeHundredForty.js.map +1 -0
- package/module/types/int/upToThreeHundredNinety.d.ts +1 -0
- package/module/types/int/upToThreeHundredNinety.js +2 -0
- package/module/types/int/upToThreeHundredNinety.js.map +1 -0
- package/module/types/int/upToThreeHundredSeventy.d.ts +1 -0
- package/module/types/int/upToThreeHundredSeventy.js +2 -0
- package/module/types/int/upToThreeHundredSeventy.js.map +1 -0
- package/module/types/int/upToThreeHundredSixty.d.ts +1 -0
- package/module/types/int/upToThreeHundredSixty.js +2 -0
- package/module/types/int/upToThreeHundredSixty.js.map +1 -0
- package/module/types/int/upToThreeHundredTen.d.ts +1 -0
- package/module/types/int/upToThreeHundredTen.js +2 -0
- package/module/types/int/upToThreeHundredTen.js.map +1 -0
- package/module/types/int/upToThreeHundredThirty.d.ts +1 -0
- package/module/types/int/upToThreeHundredThirty.js +2 -0
- package/module/types/int/upToThreeHundredThirty.js.map +1 -0
- package/module/types/int/upToThreeHundredTwenty.d.ts +1 -0
- package/module/types/int/upToThreeHundredTwenty.js +2 -0
- package/module/types/int/upToThreeHundredTwenty.js.map +1 -0
- package/module/types/int/upToTwenty.d.ts +1 -0
- package/module/types/int/upToTwenty.js +2 -0
- package/module/types/int/upToTwenty.js.map +1 -0
- package/module/types/int/upToTwoHundred.d.ts +1 -0
- package/module/types/int/upToTwoHundred.js +2 -0
- package/module/types/int/upToTwoHundred.js.map +1 -0
- package/module/types/int/upToTwoHundredEighty.d.ts +1 -0
- package/module/types/int/upToTwoHundredEighty.js +2 -0
- package/module/types/int/upToTwoHundredEighty.js.map +1 -0
- package/module/types/int/upToTwoHundredFifty.d.ts +1 -0
- package/module/types/int/upToTwoHundredFifty.js +2 -0
- package/module/types/int/upToTwoHundredFifty.js.map +1 -0
- package/module/types/int/upToTwoHundredForty.d.ts +1 -0
- package/module/types/int/upToTwoHundredForty.js +2 -0
- package/module/types/int/upToTwoHundredForty.js.map +1 -0
- package/module/types/int/upToTwoHundredNinety.d.ts +1 -0
- package/module/types/int/upToTwoHundredNinety.js +2 -0
- package/module/types/int/upToTwoHundredNinety.js.map +1 -0
- package/module/types/int/upToTwoHundredSeventy.d.ts +1 -0
- package/module/types/int/upToTwoHundredSeventy.js +2 -0
- package/module/types/int/upToTwoHundredSeventy.js.map +1 -0
- package/module/types/int/upToTwoHundredSixty.d.ts +1 -0
- package/module/types/int/upToTwoHundredSixty.js +2 -0
- package/module/types/int/upToTwoHundredSixty.js.map +1 -0
- package/module/types/int/upToTwoHundredTen.d.ts +1 -0
- package/module/types/int/upToTwoHundredTen.js +2 -0
- package/module/types/int/upToTwoHundredTen.js.map +1 -0
- package/module/types/int/upToTwoHundredThirty.d.ts +1 -0
- package/module/types/int/upToTwoHundredThirty.js +2 -0
- package/module/types/int/upToTwoHundredThirty.js.map +1 -0
- package/module/types/int/upToTwoHundredTwenty.d.ts +1 -0
- package/module/types/int/upToTwoHundredTwenty.js +2 -0
- package/module/types/int/upToTwoHundredTwenty.js.map +1 -0
- package/module/types/joke/index.d.ts +1 -0
- package/module/types/joke/index.js +2 -0
- package/module/types/joke/index.js.map +1 -0
- package/module/types/{jokeType.d.ts → joke/threeStepsForwardTwoStepsBack.d.ts} +3 -1
- package/module/types/joke/threeStepsForwardTwoStepsBack.js +2 -0
- package/module/types/joke/threeStepsForwardTwoStepsBack.js.map +1 -0
- package/module/types/logic/and.d.ts +2 -0
- package/module/types/logic/and.js +2 -0
- package/module/types/logic/and.js.map +1 -0
- package/module/types/logic/arrayReverse.d.ts +1 -0
- package/module/types/logic/arrayReverse.js +2 -0
- package/module/types/logic/arrayReverse.js.map +1 -0
- package/module/types/logic/arrayToUnion.d.ts +1 -0
- package/module/types/logic/arrayToUnion.js +2 -0
- package/module/types/logic/arrayToUnion.js.map +1 -0
- package/module/types/logic/bGreaterThanA.d.ts +4 -0
- package/module/types/logic/bGreaterThanA.js +2 -0
- package/module/types/logic/bGreaterThanA.js.map +1 -0
- package/module/types/logic/binary1bitAND.d.ts +2 -0
- package/module/types/logic/binary1bitAND.js +2 -0
- package/module/types/logic/binary1bitAND.js.map +1 -0
- package/module/types/logic/binary1bitNAND.d.ts +2 -0
- package/module/types/logic/binary1bitNAND.js +2 -0
- package/module/types/logic/binary1bitNAND.js.map +1 -0
- package/module/types/logic/binary1bitNOR.d.ts +3 -0
- package/module/types/logic/binary1bitNOR.js +2 -0
- package/module/types/logic/binary1bitNOR.js.map +1 -0
- package/module/types/logic/binary1bitOR.d.ts +2 -0
- package/module/types/logic/binary1bitOR.js +2 -0
- package/module/types/logic/binary1bitOR.js.map +1 -0
- package/module/types/logic/binary1bitXNOR.d.ts +2 -0
- package/module/types/logic/binary1bitXNOR.js +2 -0
- package/module/types/logic/binary1bitXNOR.js.map +1 -0
- package/module/types/logic/binary1bitXOR.d.ts +2 -0
- package/module/types/logic/binary1bitXOR.js +2 -0
- package/module/types/logic/binary1bitXOR.js.map +1 -0
- package/module/types/logic/binaryAND.d.ts +2 -0
- package/module/types/logic/binaryAND.js +2 -0
- package/module/types/logic/binaryAND.js.map +1 -0
- package/module/types/logic/binaryAbs.d.ts +2 -0
- package/module/types/logic/binaryAbs.js +2 -0
- package/module/types/logic/binaryAbs.js.map +1 -0
- package/module/types/logic/binaryAdd.d.ts +4 -0
- package/module/types/logic/binaryAdd.js +2 -0
- package/module/types/logic/binaryAdd.js.map +1 -0
- package/module/types/logic/binaryComplement.d.ts +4 -0
- package/module/types/logic/binaryComplement.js +2 -0
- package/module/types/logic/binaryComplement.js.map +1 -0
- package/module/types/logic/binaryFullAdder.d.ts +9 -0
- package/module/types/logic/binaryFullAdder.js +2 -0
- package/module/types/logic/binaryFullAdder.js.map +1 -0
- package/module/types/logic/binaryHalfAdder.d.ts +4 -0
- package/module/types/logic/binaryHalfAdder.js +2 -0
- package/module/types/logic/binaryHalfAdder.js.map +1 -0
- package/module/types/logic/binaryNAND.d.ts +2 -0
- package/module/types/logic/binaryNAND.js +2 -0
- package/module/types/logic/binaryNAND.js.map +1 -0
- package/module/types/logic/binaryNComplement.d.ts +7 -0
- package/module/types/logic/binaryNComplement.js +2 -0
- package/module/types/logic/binaryNComplement.js.map +1 -0
- package/module/types/logic/binaryNOR.d.ts +2 -0
- package/module/types/logic/binaryNOR.js +2 -0
- package/module/types/logic/binaryNOR.js.map +1 -0
- package/module/types/logic/binaryNOT.d.ts +2 -0
- package/module/types/logic/binaryNOT.js +2 -0
- package/module/types/logic/binaryNOT.js.map +1 -0
- package/module/types/logic/binaryOR.d.ts +2 -0
- package/module/types/logic/binaryOR.js +2 -0
- package/module/types/logic/binaryOR.js.map +1 -0
- package/module/types/logic/binaryToDecimal.d.ts +6 -0
- package/module/types/logic/binaryToDecimal.js +2 -0
- package/module/types/logic/binaryToDecimal.js.map +1 -0
- package/module/types/logic/binaryToHex.d.ts +5 -0
- package/module/types/logic/binaryToHex.js +2 -0
- package/module/types/logic/binaryToHex.js.map +1 -0
- package/module/types/logic/binaryXNOR.d.ts +2 -0
- package/module/types/logic/binaryXNOR.js +2 -0
- package/module/types/logic/binaryXNOR.js.map +1 -0
- package/module/types/logic/binaryXOR.d.ts +2 -0
- package/module/types/logic/binaryXOR.js +2 -0
- package/module/types/logic/binaryXOR.js.map +1 -0
- package/module/types/logic/capitalize.d.ts +1 -0
- package/module/types/logic/capitalize.js +2 -0
- package/module/types/logic/capitalize.js.map +1 -0
- package/module/types/logic/decimal1biteTobinary.d.ts +1 -0
- package/module/types/logic/decimal1biteTobinary.js +2 -0
- package/module/types/logic/decimal1biteTobinary.js.map +1 -0
- package/module/types/logic/decimal1byteTobinary.d.ts +1 -0
- package/module/types/logic/decimal1byteTobinary.js +2 -0
- package/module/types/logic/decimal1byteTobinary.js.map +1 -0
- package/module/types/logic/decimal4bitToHex.d.ts +1 -0
- package/module/types/logic/decimal4bitToHex.js +2 -0
- package/module/types/logic/decimal4bitToHex.js.map +1 -0
- package/module/types/logic/decimal4bitTobinary.d.ts +1 -0
- package/module/types/logic/decimal4bitTobinary.js +2 -0
- package/module/types/logic/decimal4bitTobinary.js.map +1 -0
- package/module/types/logic/equal.d.ts +1 -0
- package/module/types/logic/equal.js +2 -0
- package/module/types/logic/equal.js.map +1 -0
- package/module/types/logic/first.d.ts +1 -0
- package/module/types/logic/first.js +2 -0
- package/module/types/logic/first.js.map +1 -0
- package/module/types/logic/first8Chars.d.ts +11 -0
- package/module/types/logic/first8Chars.js +2 -0
- package/module/types/logic/first8Chars.js.map +1 -0
- package/module/types/logic/firstNChars.d.ts +1 -0
- package/module/types/logic/firstNChars.js +2 -0
- package/module/types/logic/firstNChars.js.map +1 -0
- package/module/types/logic/hex4bitToDecimal.d.ts +1 -0
- package/module/types/logic/hex4bitToDecimal.js +2 -0
- package/module/types/logic/hex4bitToDecimal.js.map +1 -0
- package/module/types/logic/hexToBinary.d.ts +5 -0
- package/module/types/logic/hexToBinary.js +2 -0
- package/module/types/logic/hexToBinary.js.map +1 -0
- package/module/types/logic/if.d.ts +1 -0
- package/module/types/logic/if.js +2 -0
- package/module/types/logic/if.js.map +1 -0
- package/module/types/logic/imply.d.ts +3 -0
- package/module/types/logic/imply.js +2 -0
- package/module/types/logic/imply.js.map +1 -0
- package/module/types/logic/index.d.ts +59 -0
- package/module/types/logic/index.js +60 -0
- package/module/types/logic/index.js.map +1 -0
- package/module/types/logic/isAny.d.ts +1 -0
- package/module/types/logic/isAny.js +2 -0
- package/module/types/logic/isAny.js.map +1 -0
- package/module/types/logic/isBoolean.d.ts +1 -0
- package/module/types/logic/isBoolean.js +2 -0
- package/module/types/logic/isBoolean.js.map +1 -0
- package/module/types/logic/isFloat.d.ts +1 -0
- package/module/types/logic/isFloat.js +2 -0
- package/module/types/logic/isFloat.js.map +1 -0
- package/module/types/logic/length.d.ts +3 -0
- package/module/types/logic/length.js +2 -0
- package/module/types/logic/length.js.map +1 -0
- package/module/types/logic/lengthOfString.d.ts +2 -0
- package/module/types/logic/lengthOfString.js +2 -0
- package/module/types/logic/lengthOfString.js.map +1 -0
- package/module/types/logic/nand.d.ts +3 -0
- package/module/types/logic/nand.js +2 -0
- package/module/types/logic/nand.js.map +1 -0
- package/module/types/logic/nor.d.ts +3 -0
- package/module/types/logic/nor.js +2 -0
- package/module/types/logic/nor.js.map +1 -0
- package/module/types/logic/not.d.ts +2 -0
- package/module/types/logic/not.js +2 -0
- package/module/types/logic/not.js.map +1 -0
- package/module/types/logic/or.d.ts +2 -0
- package/module/types/logic/or.js +2 -0
- package/module/types/logic/or.js.map +1 -0
- package/module/types/logic/pop.d.ts +1 -0
- package/module/types/logic/pop.js +2 -0
- package/module/types/logic/pop.js.map +1 -0
- package/module/types/logic/popString.d.ts +1 -0
- package/module/types/logic/popString.js +2 -0
- package/module/types/logic/popString.js.map +1 -0
- package/module/types/logic/shift.d.ts +1 -0
- package/module/types/logic/shift.js +2 -0
- package/module/types/logic/shift.js.map +1 -0
- package/module/types/logic/shiftString.d.ts +1 -0
- package/module/types/logic/shiftString.js +2 -0
- package/module/types/logic/shiftString.js.map +1 -0
- package/module/types/logic/slice.d.ts +2 -0
- package/module/types/logic/slice.js +2 -0
- package/module/types/logic/slice.js.map +1 -0
- package/module/types/logic/stringReverse.d.ts +1 -0
- package/module/types/logic/stringReverse.js +2 -0
- package/module/types/logic/stringReverse.js.map +1 -0
- package/module/types/logic/stringToArray.d.ts +1 -0
- package/module/types/logic/stringToArray.js +2 -0
- package/module/types/logic/stringToArray.js.map +1 -0
- package/module/types/logic/stringToUnion.d.ts +1 -0
- package/module/types/logic/stringToUnion.js +2 -0
- package/module/types/logic/stringToUnion.js.map +1 -0
- package/module/types/logic/toNumber.d.ts +1 -0
- package/module/types/logic/toNumber.js +2 -0
- package/module/types/logic/toNumber.js.map +1 -0
- package/module/types/logic/xnor.d.ts +3 -0
- package/module/types/logic/xnor.js +2 -0
- package/module/types/logic/xnor.js.map +1 -0
- package/module/types/logic/xor.d.ts +2 -0
- package/module/types/logic/xor.js +2 -0
- package/module/types/logic/xor.js.map +1 -0
- package/module/types/logic/zeroAorB.d.ts +2 -0
- package/module/types/logic/zeroAorB.js +2 -0
- package/module/types/logic/zeroAorB.js.map +1 -0
- package/module/types/logic/zeroString.d.ts +2 -0
- package/module/types/logic/zeroString.js +2 -0
- package/module/types/logic/zeroString.js.map +1 -0
- package/module/types/math/add.d.ts +4 -0
- package/module/types/math/add.js +2 -0
- package/module/types/math/add.js.map +1 -0
- package/module/types/math/divide.d.ts +6 -0
- package/module/types/math/divide.js +2 -0
- package/module/types/math/divide.js.map +1 -0
- package/module/types/math/index.d.ts +6 -0
- package/module/types/math/index.js +7 -0
- package/module/types/math/index.js.map +1 -0
- package/module/types/math/modulo.d.ts +3 -0
- package/module/types/math/modulo.js +2 -0
- package/module/types/math/modulo.js.map +1 -0
- package/module/types/math/multiply.d.ts +5 -0
- package/module/types/math/multiply.js +2 -0
- package/module/types/math/multiply.js.map +1 -0
- package/module/types/math/numberToArray.d.ts +1 -0
- package/module/types/math/numberToArray.js +2 -0
- package/module/types/math/numberToArray.js.map +1 -0
- package/module/types/math/subtract.d.ts +4 -0
- package/module/types/math/subtract.js +2 -0
- package/module/types/math/subtract.js.map +1 -0
- package/module/types/ua/simplifiedUserAgentInfo.d.ts +5 -0
- package/module/types/ua/simplifiedUserAgentInfo.js +2 -0
- package/module/types/ua/simplifiedUserAgentInfo.js.map +1 -0
- package/package.json +19 -17
- package/module/Error/result.d.ts +0 -11
- package/module/Error/result.js +0 -11
- package/module/Error/result.js.map +0 -1
- package/module/Math/isValueNaN.d.ts +0 -10
- package/module/Math/isValueNaN.js +0 -14
- package/module/Math/isValueNaN.js.map +0 -1
- package/module/Tool/sudoku.d.ts +0 -103
- package/module/Tool/sudoku.js +0 -48
- package/module/Tool/sudoku.js.map +0 -1
- package/module/types/arrayType.js +0 -2
- package/module/types/arrayType.js.map +0 -1
- package/module/types/clockType.d.ts +0 -13
- package/module/types/clockType.js +0 -2
- package/module/types/clockType.js.map +0 -1
- package/module/types/dateType.d.ts +0 -13
- package/module/types/int.d.ts +0 -108
- package/module/types/int.js.map +0 -1
- package/module/types/jokeType.js +0 -2
- package/module/types/jokeType.js.map +0 -1
- package/module/types/logicType.d.ts +0 -93
- package/module/types/logicType.js +0 -2
- package/module/types/logicType.js.map +0 -1
- package/module/types/mathType.d.ts +0 -10
- package/module/types/mathType.js +0 -2
- package/module/types/mathType.js.map +0 -1
- /package/module/types/{dateType.js → date/dateType.js} +0 -0
- /package/module/types/{int.js → int/int.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToThirty.js","sourceRoot":"","sources":["../../../src/types/int/upToThirty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToThreeHundred = 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToThreeHundred.js","sourceRoot":"","sources":["../../../src/types/int/upToThreeHundred.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToThreeHundredEighty = 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToThreeHundredEighty.js","sourceRoot":"","sources":["../../../src/types/int/upToThreeHundredEighty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToThreeHundredFifty = 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToThreeHundredFifty.js","sourceRoot":"","sources":["../../../src/types/int/upToThreeHundredFifty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToThreeHundredForty = 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToThreeHundredForty.js","sourceRoot":"","sources":["../../../src/types/int/upToThreeHundredForty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToThreeHundredNinety = 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToThreeHundredNinety.js","sourceRoot":"","sources":["../../../src/types/int/upToThreeHundredNinety.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToThreeHundredSeventy = 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToThreeHundredSeventy.js","sourceRoot":"","sources":["../../../src/types/int/upToThreeHundredSeventy.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToThreeHundredSixty = 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToThreeHundredSixty.js","sourceRoot":"","sources":["../../../src/types/int/upToThreeHundredSixty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToThreeHundredTen = 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToThreeHundredTen.js","sourceRoot":"","sources":["../../../src/types/int/upToThreeHundredTen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToThreeHundredThirty = 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToThreeHundredThirty.js","sourceRoot":"","sources":["../../../src/types/int/upToThreeHundredThirty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToThreeHundredTwenty = 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToThreeHundredTwenty.js","sourceRoot":"","sources":["../../../src/types/int/upToThreeHundredTwenty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToTwenty = 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToTwenty.js","sourceRoot":"","sources":["../../../src/types/int/upToTwenty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToTwoHundred = 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToTwoHundred.js","sourceRoot":"","sources":["../../../src/types/int/upToTwoHundred.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToTwoHundredEighty = 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToTwoHundredEighty.js","sourceRoot":"","sources":["../../../src/types/int/upToTwoHundredEighty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToTwoHundredFifty = 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToTwoHundredFifty.js","sourceRoot":"","sources":["../../../src/types/int/upToTwoHundredFifty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToTwoHundredForty = 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToTwoHundredForty.js","sourceRoot":"","sources":["../../../src/types/int/upToTwoHundredForty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToTwoHundredNinety = 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToTwoHundredNinety.js","sourceRoot":"","sources":["../../../src/types/int/upToTwoHundredNinety.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToTwoHundredSeventy = 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToTwoHundredSeventy.js","sourceRoot":"","sources":["../../../src/types/int/upToTwoHundredSeventy.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToTwoHundredSixty = 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToTwoHundredSixty.js","sourceRoot":"","sources":["../../../src/types/int/upToTwoHundredSixty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToTwoHundredTen = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToTwoHundredTen.js","sourceRoot":"","sources":["../../../src/types/int/upToTwoHundredTen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToTwoHundredThirty = 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToTwoHundredThirty.js","sourceRoot":"","sources":["../../../src/types/int/upToTwoHundredThirty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type UpToTwoHundredTwenty = 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upToTwoHundredTwenty.js","sourceRoot":"","sources":["../../../src/types/int/upToTwoHundredTwenty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./threeStepsForwardTwoStepsBack";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/joke/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC"}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
import type { Add
|
|
1
|
+
import type { Add } from "../math/add";
|
|
2
|
+
import type { Multiply } from "../math/multiply";
|
|
3
|
+
import type { Subtract } from "../math/subtract";
|
|
2
4
|
export type ThreeStepsForwardTwoStepsBack<T extends number> = T extends 1 ? 1 : T extends 2 ? 2 : T extends 3 ? 3 : Add<3, Multiply<3, Subtract<T, 3>>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"threeStepsForwardTwoStepsBack.js","sourceRoot":"","sources":["../../../src/types/joke/threeStepsForwardTwoStepsBack.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"and.js","sourceRoot":"","sources":["../../../src/types/logic/and.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ArrayReverse<S extends unknown[], T extends unknown[] = []> = S extends [infer F, ...infer R] ? ArrayReverse<R, [F, ...T]> : T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrayReverse.js","sourceRoot":"","sources":["../../../src/types/logic/arrayReverse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ArrayToUnion<X extends unknown[]> = X[number];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrayToUnion.js","sourceRoot":"","sources":["../../../src/types/logic/arrayToUnion.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Equal } from "./equal";
|
|
2
|
+
import type { ZeroAorB } from "./zeroAorB";
|
|
3
|
+
import type { Subtract } from "../math/subtract";
|
|
4
|
+
export type BGreaterThanA<A extends number, B extends number> = `${A}` extends `-${infer N extends number}` ? `${B}` extends `-${infer M extends number}` ? BGreaterThanA<N, M> : BGreaterThanA<N, B> : `${B}` extends `-${infer M extends number}` ? BGreaterThanA<A, M> : ZeroAorB<A, B> extends true ? Equal<A, B> extends true ? false : A extends 0 ? true : false : BGreaterThanA<Subtract<A, 1>, Subtract<B, 1>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bGreaterThanA.js","sourceRoot":"","sources":["../../../src/types/logic/bGreaterThanA.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binary1bitAnd.js","sourceRoot":"","sources":["../../../src/types/logic/binary1bitAnd.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binary1bitNand.js","sourceRoot":"","sources":["../../../src/types/logic/binary1bitNand.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binary1bitNor.js","sourceRoot":"","sources":["../../../src/types/logic/binary1bitNor.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binary1bitOr.js","sourceRoot":"","sources":["../../../src/types/logic/binary1bitOr.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binary1bitXnor.js","sourceRoot":"","sources":["../../../src/types/logic/binary1bitXnor.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binary1bitXor.js","sourceRoot":"","sources":["../../../src/types/logic/binary1bitXor.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type BinaryAnd<X extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`, Y extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`> = BinaryAndParser<X, Y>;
|
|
2
|
+
export type BinaryAndParser<X extends string, Y extends string, A extends string = ""> = X extends `${infer F}${infer R}` ? Y extends `${infer F2}${infer R2}` ? F extends "1" ? F2 extends "1" ? BinaryAndParser<R, R2, `${A}1`> : BinaryAndParser<R, R2, `${A}0`> : BinaryAndParser<R, R2, `${A}0`> : A : A;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binaryAnd.js","sourceRoot":"","sources":["../../../src/types/logic/binaryAnd.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binaryAbs.js","sourceRoot":"","sources":["../../../src/types/logic/binaryAbs.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { First8Chars } from "./first8Chars";
|
|
2
|
+
import type { StringReverse } from "./stringReverse";
|
|
3
|
+
export type BinaryAddParser<A extends string, B extends string, C extends "0" | "1" = "0"> = [A, B] extends [`${infer A1}${infer A2}`, `${infer B1}${infer B2}`] ? A1 extends "0" ? B1 extends "0" ? C extends "0" ? `${BinaryAddParser<A2, B2, "0">}0` : `${BinaryAddParser<A2, B2, "0">}1` : C extends "0" ? `${BinaryAddParser<A2, B2, "0">}1` : `${BinaryAddParser<A2, B2, "1">}0` : B1 extends "0" ? C extends "0" ? `${BinaryAddParser<A2, B2, "0">}1` : `${BinaryAddParser<A2, B2, "1">}0` : C extends "0" ? `${BinaryAddParser<A2, B2, "1">}0` : `${BinaryAddParser<A2, B2, "1">}1` : `${C}`;
|
|
4
|
+
export type BinaryAdd<X extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`, Y extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`> = StringReverse<First8Chars<StringReverse<BinaryAddParser<StringReverse<X>, StringReverse<Y>>>>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binaryAdd.js","sourceRoot":"","sources":["../../../src/types/logic/binaryAdd.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BinaryAdd } from "./binaryAdd";
|
|
2
|
+
import type { First8Chars } from "./first8Chars";
|
|
3
|
+
export type BinaryComplementParser<X extends string> = X extends `${infer L}${infer R}` ? L extends "0" ? `1${BinaryComplementParser<R>}` : `0${BinaryComplementParser<R>}` : "";
|
|
4
|
+
export type BinaryComplement<X extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`> = First8Chars<BinaryAdd<BinaryComplementParser<X>, "00000001">>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binaryComplement.js","sourceRoot":"","sources":["../../../src/types/logic/binaryComplement.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Binary1bitOrParser } from "./binary1bitOr";
|
|
2
|
+
import type { BinaryHalfAdderParser } from "./binaryHalfAdder";
|
|
3
|
+
import type { FirstNChars } from "./firstNChars";
|
|
4
|
+
import type { LengthOfString } from "./lengthOfString";
|
|
5
|
+
import type { ShiftString } from "./shiftString";
|
|
6
|
+
import type { StringReverse } from "./stringReverse";
|
|
7
|
+
export type BinaryFullAdder<X extends string, Y extends string, B extends number = LengthOfString<X>> = LengthOfString<X> extends LengthOfString<Y> ? FirstNChars<ShiftString<StringReverse<BinaryFullAdderParser<StringReverse<FirstNChars<X, B>>, StringReverse<FirstNChars<Y, B>>>>>, B> : never;
|
|
8
|
+
type BinaryFullAdderParser<X extends string, Y extends string, A extends string = "", C extends string = "0"> = X extends `${infer F}${infer R}` ? Y extends `${infer F2}${infer R2}` ? BinaryHalfAdderParser<F, F2> extends `${infer F3}${infer R3}` ? BinaryHalfAdderParser<R3, C> extends `${infer F4}${infer R4}` ? BinaryFullAdderParser<R, R2, `${A}${R4}`, Binary1bitOrParser<F3, F4>> : never : never : never : `${A}${C}`;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binaryFullAdder.js","sourceRoot":"","sources":["../../../src/types/logic/binaryFullAdder.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Binary1bitAndParser } from "./binary1bitAnd";
|
|
2
|
+
import type { Binary1bitXorParser } from "./binary1bitXor";
|
|
3
|
+
export type BinaryHalfAdder<X extends `${0 | 1}`, Y extends `${0 | 1}`> = BinaryHalfAdderParser<X, Y>;
|
|
4
|
+
export type BinaryHalfAdderParser<X extends string, Y extends string, C extends string = ""> = C extends "" ? BinaryHalfAdderParser<X, Y, Binary1bitAndParser<X, Y>> : `${C}${Binary1bitXorParser<X, Y>}`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binaryHalfAdder.js","sourceRoot":"","sources":["../../../src/types/logic/binaryHalfAdder.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type BinaryNand<X extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`, Y extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`> = BinaryNandParser<X, Y>;
|
|
2
|
+
export type BinaryNandParser<X extends string, Y extends string, A extends string = ""> = X extends `${infer F}${infer R}` ? Y extends `${infer F2}${infer R2}` ? F extends "1" ? F2 extends "1" ? BinaryNandParser<R, R2, `${A}0`> : BinaryNandParser<R, R2, `${A}1`> : BinaryNandParser<R, R2, `${A}1`> : A : A;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binaryNand.js","sourceRoot":"","sources":["../../../src/types/logic/binaryNand.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { BinaryComplementParser } from "./binaryComplement";
|
|
2
|
+
import type { BinaryFullAdder } from "./binaryFullAdder";
|
|
3
|
+
import type { LengthOfString } from "./lengthOfString";
|
|
4
|
+
import type { ShiftString } from "./shiftString";
|
|
5
|
+
import type { StringReverse } from "./stringReverse";
|
|
6
|
+
import type { ZeroString } from "./zeroString";
|
|
7
|
+
export type BinaryNComplement<X extends string> = BinaryFullAdder<BinaryComplementParser<X>, StringReverse<`1${ShiftString<ZeroString<LengthOfString<X>>>}`>, LengthOfString<X>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binaryNComplement.js","sourceRoot":"","sources":["../../../src/types/logic/binaryNComplement.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type BinaryNor<X extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`, Y extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`> = BinaryNorParser<X, Y>;
|
|
2
|
+
export type BinaryNorParser<X extends string, Y extends string, A extends string = ""> = X extends `${infer F}${infer R}` ? Y extends `${infer F2}${infer R2}` ? F extends "1" ? BinaryNorParser<R, R2, `${A}0`> : F2 extends "1" ? BinaryNorParser<R, R2, `${A}0`> : BinaryNorParser<R, R2, `${A}1`> : A : A;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binaryNor.js","sourceRoot":"","sources":["../../../src/types/logic/binaryNor.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binaryNot.js","sourceRoot":"","sources":["../../../src/types/logic/binaryNot.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type BinaryOr<X extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`, Y extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`> = BinaryOrParser<X, Y>;
|
|
2
|
+
export type BinaryOrParser<X extends string, Y extends string, A extends string = ""> = X extends `${infer F}${infer R}` ? Y extends `${infer F2}${infer R2}` ? F extends "1" ? BinaryOrParser<R, R2, `${A}1`> : F2 extends "1" ? BinaryOrParser<R, R2, `${A}1`> : BinaryOrParser<R, R2, `${A}0`> : A : A;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binaryOr.js","sourceRoot":"","sources":["../../../src/types/logic/binaryOr.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Length } from "./length";
|
|
2
|
+
import type { LengthOfString } from "./lengthOfString";
|
|
3
|
+
import type { Shift } from "./shift";
|
|
4
|
+
import type { StringReverse } from "./stringReverse";
|
|
5
|
+
export type BinaryToDecimalParser<X extends string, C extends unknown[] = [""], A extends unknown[] = [""], FL extends boolean = false> = X extends `${infer F}${infer R}` ? LengthOfString<X> extends 8 ? F extends "1" ? `-${BinaryToDecimalParser<StringReverse<R>, C, A, true>}` : BinaryToDecimalParser<StringReverse<R>, C, A, FL> : FL extends false ? F extends "1" ? BinaryToDecimalParser<R, [...C, ...C], [...A, ...C], FL> : BinaryToDecimalParser<R, [...C, ...C], A, FL> : F extends "1" ? BinaryToDecimalParser<R, [...C, ...C], A, FL> : BinaryToDecimalParser<R, [...C, ...C], [...A, ...C], FL> : FL extends true ? Length<A> : Length<Shift<A>>;
|
|
6
|
+
export type BinaryToDecimal<X extends `${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}${0 | 1}`> = BinaryToDecimalParser<X>;
|