dev.atedeg.mdm.products.utils
package dev.atedeg.mdm.products.utils
Type members
Classlikes
Givens
Givens
Extensions
Extensions
extension (cheeseType: CheeseType)
Returns a list of all the allowed weights in grams for a given cheese type.
Returns a list of all the allowed weights in grams for a given cheese type.
Creates a product with the given cheese type if it can find a weight amongst the allowed ones that matches the given predicate.
Creates a product with the given cheese type if it can find a weight amongst the allowed ones that matches the given predicate.
extension (n: PositiveNumber)