cavcalc.parameters.tools.get_type
#
- cavcalc.parameters.tools.get_type(name: str)#
Get the
ParameterType
literal corresponding to the given name of the parameter.- Parameters:
- namestr
The name of the parameter.
- Returns:
- ptypeOptional[
ParameterType
] The parameter type of the parameter, or
None
ifname
does not correspond to any parameter.
- ptypeOptional[