7.3.4. ref¶
-
ref
(parent, x)[source]¶ If the input is a valid reference, returns the captured values otherwise the input.
Parameters: - parent (xlref.parser.Ref) – Parent parser.
- x (object) – Input value.
Returns: If the input is a valid reference, returns the captured values otherwise the input.
Return type: