Skip to main content

Function: resolveDate()

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

Parameters

ParameterType
parameterstring
options?object
options.maximum?number
options.minimum?number

Returns

Result<Date, Identifiers.ArgumentDateError | Identifiers.ArgumentDateTooEarly | Identifiers.ArgumentDateTooFar>

Defined in

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