ts-help is a Typescript library to handle and group together helpers and coding principles
npm install ts-help
OR
yarn add ts-help
You can import any available helper and use it as simple as this
import { ArrayHelpers } from 'ts-help'
const myArray = [1,2,3]
console.log(ArrayHelpers.isEmpty(myArray)) // false
- NegativeInteger
- NegativeNonNullInteger
- NegativeNonNullNumber
- NegativeNumber
- NonEmptyArray
- NonNullInteger
- NonNullNumber
- Nullable
- Optional
- PositiveInteger
- PositiveNonNullInteger
- PositiveNonNullNumber
- PositiveNumber
- Tuple