Skip to main content

Function: resolveDate()

resolveDate(parameter: string, options?: object): Result<Date, ArgumentDateError | ArgumentDateTooEarly | ArgumentDateTooFar>

Defined in: projects/framework/src/lib/resolvers/date.ts:4

Parameters

ParameterType
parameterstring
options?{ maximum: number; minimum: number; }
options.maximum?number
options.minimum?number

Returns

Result<Date, ArgumentDateError | ArgumentDateTooEarly | ArgumentDateTooFar>