ts-monorepo

Home > @whatsaaaa/utils

utils package

Functions

Function Description
addDaysToDate(date, numberOfDaysToAdd) Add days to a date
formatTimestamp(date) Format a timestamp as a string
subtract(a, b) (BETA) Calculate the difference between two numbers
sum(a, b) Calculates the sum of two numbers
sum2(a, b) Calculates the sum of two numbers
sum3(a, b, c) Calculates the sum of three numbers
sum4(a, b, c, d) (BETA) Calculates the sum of four numbers
sum6(a, b, c, d, e) (BETA) Calculates the sum of five numbers