Skip to content

SudoSOS Back-end API / helpers / asArrayOfDates

Function: asArrayOfDates() ​

ts
function asArrayOfDates(input): Date[];

Converts the input to a list of dates

Parameters ​

ParameterTypeDescription
inputany-

Returns ​

Date[]

Throws ​

TypeError - If array contains one or more invalid or undefined dates