Search
@qntm-code/utils
A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.
v2.18.3 URL:
https://unpkg.com/@qntm-code/utils@2.18.3/dist/cjs/index.js
Open
Browse Files
TypeScript
isNullOrUndefined
isEmpty
isEqual
isNumber
randomNumberBetweenRange
random number between range
asyncForEach
async for each
delay
convertTimeUnits
convert time units
getToday
setEndOfDay
setEndOfHour
setEndOfMinute
setEndOfMonth
setEndOfSecond
setEndOfWeek
setEndOfYear
setStartOfDay
setStartOfHour
setStartOfMinute
setStartOfMonth
setStartOfSecond
setStartOfWeek
setStartOfYear
date getters
date setters
null
undefined
empty
string
equal
equality
array
object
async
forEach
for
each
convert
time
dates
date
milliseconds
seconds
minutes
hours
days
weeks
months
years
set
get
start
end
today
getScrollParent
scroll
parent
random
number
between
range
clone
deep clone
deep
equals
deep equals
fast
merge
deep merge
same date
isSameDate