@modoki/engine / index / coerceParamValue
Function: coerceParamValue()
coerceParamValue(
param,value):unknown
Coerce a stored value to the shape implied by a param's type, falling back to the schema default (and then a type-appropriate zero) when missing/mismatched.
Parameters
param
value
unknown
Returns
unknown