Package uses Angular Signals (Angular 16+).
npm install rt-tools* ``typescript`
IDictionary
`
* typescript`
IntersectionType
`
* typescript`
Modify
`
* typescript`
IMapper
`
* typescript`
Nullable
`
* typescript`
PartialOmit
`
* typescript`
Primitive
`
* Makes selected props from a record optionaltypescript`
Optional
`
* Get the union type of all the values in an object, array or array-like typetypescript`
ValuesType
* `typescript`
isDateValid(date?: Date): boolean;
`
* typescript`
dateStringToDate(date: string | Date): Date;
`
* Indicates if the arguments are equaltypescript`
isEqual
`
* Indicates if the content of two arrays is identicaltypescript`
areArraysEqual
`
* Indicates if the content of two arrays is identicaltypescript`
areObjectsEqual
`
* typescript`
isNumber
`
* typescript`
initToday(): Date;
`
* typescript`
isToday(date: Date): boolean;
`
* Make shallow copy of passed object typescript`
removeFieldFromObject
`
* Allow to compare two values by provided comparatortypescript`
safeCompare
`
* Allow to safely compare two string valuestypescript`
safeStrCompare(a: string, b: string): number;
`
* Allow to safely compare two number valuestypescript`
safeNumCompare(a: number, b: number): number;
`
* Allow composing comparison chain of several comparators
that delegate comparison by the chain to the next comparators if current comparator returns 0 typescript`
safeComparatorPipe(...comparators: Array<() => number>): number;
`
* typescript`
sortByAlphabet:
`
* typescript`
sortByDate: (a: { [field: string]: any }, b: { [field: string]: any }, field: string) => number
`
* typescript`
stringifyHttpLikeParams
`
* typescript``
transformArrayInput