0.8.0 • Published 7 years ago
@ch1/utility v0.8.0
CH1 Utility
This is not well maintained
Installation
yarn add @ch1/utility
Interfaces
Dictionary<T>
Functions
arrToObjcreateBetween(random: () => number) => () => numberdeepFreezefindCaseInsensitivePropInObjhasPropisBooleanidentityisFunctionisNaNisNumberisNullisObjectisStringisUndefinednooppartialpluckobjEachobjFilterobjReducetoGtZeroIntMaxtoInttoIntArraytoIntArrayMaxtoIntArrayMintoIntBetweenOptionaltoIntMaxtoIntMintoStringtoStringArraytoStringArrayMaxtoStringMaxunzipzip
const between = createBetween(Math.random.bind(Math));
const randomNumber = between(0, 100); // inclusive due to Math.random