2.5.180 • Published 1 year ago

accurtype v2.5.180

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
1 year ago

Accurate Type

简体中文 | English

The Accurate Type is a collection of TypeScript type declare, which can make your programming more accurate and easir.

This project has not only various simple types but also many generic type expressions like counter. The wide type world is waiting for your exploration!

All Utilities

base: 99

base: 36

  1. type SigNumber
  2. type ObjectKey
  3. function toTypeNameObj
  4. type WideNum
  5. type WideNumType
  6. const WIDE_NUM_TYPE
  7. function isWideNum
  8. type ArrayAccur
  9. type ObjectAccur
  10. type FunctionAccur
  11. type Accur
  12. type Tostrable
  13. type TostrableType
  14. const TOSTRABLE_TYPE
  15. function isTostrable
  16. type NumOfStr
  17. function str2num
  18. type BoolOfNum
  19. function num2bool
  20. type CnvedNum
  21. function cnvNum
  22. type NumOfBool
  23. function bool2num
  24. type BoolOfTostrable
  25. function tostrable2bool
  26. type Poped
  27. type Pushed
  28. type Shifted
  29. type Unshifted
  30. type IfredArr
  31. type IfredObj
  32. type SemiRequired
  33. type SemiUnrequired
  34. type SemiPartial
  35. type SemiUnpartial
  36. type EqualTo

bool: 20

  1. type Not
  2. function not
  3. type And
  4. type TypeAnd
  5. function and
  6. type Or
  7. type TypeOr
  8. function or
  9. type Nand
  10. type TypeNand
  11. function nand
  12. type Nor
  13. type TypeNor
  14. function nor
  15. type Xor
  16. type TypeXor
  17. function xor
  18. type Xnor
  19. type TypeXnor
  20. function xnor

is: 27

  1. type IsType
  2. type IsWideNum
  3. type IsWideWideNum
  4. type IsLtdWideNum
  5. type IsBoolean
  6. type IsWideBoolean
  7. type IsLtdBoolean
  8. type IsString
  9. type IsWideString
  10. type IsLtdString
  11. type IsArray
  12. type IsWideArray
  13. type IsLongArray
  14. type ArrayLtdSplited
  15. type ArrayLtdCombed
  16. type IsTostrable
  17. type IsWideTostrable
  18. type IsLtdTostrable
  19. type IsFunction
  20. type IsLtdFunction
  21. type IsWideFunction
  22. type IsObject
  23. type IsLtdObject
  24. type IsWideObject
  25. type IsDefedObject
  26. type IsArrayOfLtd
  27. type IsLtd

type-name: 16

  1. interface TypeMapJS
  2. type TypeNameJS
  3. const TYPE_MAP
  4. function str2type
  5. type AllTypeJS
  6. type TypeOfJS
  7. type TypeNameObjJS
  8. type IsTypeNameJS
  9. function isTypeNameJS
  10. interface TypeMap
  11. type TypeName
  12. type TypeOf
  13. type NameOfType
  14. type TypeNameObj
  15. type IsTypeName
  16. function isTypeName

json: 6

base: 3

  1. type MinItems
  2. type LtdUniqueItems
  3. type UniqueItems

sch: 3

  1. interface SchemaObj
  2. type Schema
  3. type OfSchema

snt: 47

app: 16

  1. type LenOfStr
  2. function strlen
  3. type LenOfArr
  4. function arrlen
  5. type LenOf
  6. function len
  7. type Repeated
  8. function repeat
  9. type Leading0Filled
  10. function fillLeading0
  11. type LtdIndexOf
  12. type IndexOf
  13. function indexOf
  14. type FilledWith
  15. type SplitedAt
  16. type SettedAt

xcr: 7

  1. type SntXcrUns
  2. type SntXcr
  3. type SntXcrNum
  4. type Increase
  5. function increase
  6. type Decrease
  7. function decrease

cmp: 17

  1. type SntCmpUns
  2. type SntCmp
  3. type SntCmpNum
  4. type IsLess
  5. function isLess
  6. type IsNotless
  7. function isNotless
  8. type IsGreater
  9. function isGreater
  10. type IsNotgreater
  11. function isNotgreater
  12. type IsEqual
  13. function isEqual
  14. type IsAllLess
  15. type LtdMaxIn
  16. type MayUpNum
  17. type UpNum

opn: 7

  1. type SntAosUns
  2. type SntAos
  3. type SntAosNum
  4. type Added
  5. function add
  6. type Subed
  7. function sub

sprec: 24

  1. type Spaceless
  2. function removeSpace
  3. type Leading0less
  4. function removeLeading0
  5. type StringReved
  6. function revString
  7. type Replaced
  8. function replace
  9. type PostAligned
  10. function postAlign
  11. type PreAligned
  12. function preAlign
  13. type BothPreAligned
  14. type BothPostAligned
  15. type Splited
  16. function split
  17. type Joined
  18. function join
  19. type Concated
  20. function concat
  21. type PostVoidLess
  22. type LtdArrayReved
  23. type ArrayReved
  24. function revArray

matrix: 4

trsed: 1

  1. type Transposed

flip: 3

  1. type FlipedUD
  2. type LtdFlipedLR
  3. type FlipedLR
2.5.180

1 year ago

2.4.166

1 year ago

2.4.159

1 year ago

2.3.107

1 year ago

2.2.2

1 year ago

2.2.1

1 year ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago