Skip to main content

Function: resolveFloat()

resolveFloat(parameter: string, options?: object): Result<number, Identifiers.ArgumentFloatError | Identifiers.ArgumentFloatTooSmall | Identifiers.ArgumentFloatTooLarge>

Parameters

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

Returns

Result<number, Identifiers.ArgumentFloatError | Identifiers.ArgumentFloatTooSmall | Identifiers.ArgumentFloatTooLarge>

Source

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