Logo GenPRES

Validation Module

Holds the validators of a weight in kg and in gram, which accept a weight from 0.2 kg to 250 kg.

Functions and values

Function or value Description

maxWeightGram

Full Usage: maxWeightGram

Returns: int<MeasureProduct<gram, MeasureOne>>

maxWeightKg

Full Usage: maxWeightKg

Returns: decimal<MeasureProduct<kg, MeasureOne>>

minWeightGram

Full Usage: minWeightGram

Returns: int<MeasureProduct<gram, MeasureOne>>

minWeightKg

Full Usage: minWeightKg

Returns: decimal<MeasureProduct<kg, MeasureOne>>

weightGramValidator

Full Usage: weightGramValidator

Returns: Validator<decimal, WeightValue>
Returns: Validator<decimal, WeightValue>

weightKgValidator

Full Usage: weightKgValidator

Returns: Validator<decimal, WeightValue>
Returns: Validator<decimal, WeightValue>

Type something to start searching.