cavcalc.parameters.tools.get_type#
- cavcalc.parameters.tools.get_type(name: str)#
Get the
ParameterTypeliteral 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
Noneifnamedoes not correspond to any parameter.
- ptypeOptional[