validate_parameter

autoeis.parser.validate_parameter(p: str) bool

Checks if a parameter label is valid.

Valid parameter labels: {R,C,L,Pw,Pn}{N} where N is a number, e.g., P1n.

Parameters:

p (str) – String representation of the parameter label.

Returns:

True if the parameter label is valid, False otherwise.

Return type:

bool