is_path_like
Function
This function is defined in the parse_utils module.Check if a string looks like a file path. O(1) operation.
Signature
Parameters
String to check
Returns
True if string looks like a path
Check if a string looks like a file path. O(1) operation.
This function is defined in the parse_utils module.Check if a string looks like a file path. O(1) operation.
def is_path_like(value: str) -> bool
>>> is_path_like("docs/")
True
>>> is_path_like("./data.pdf")
True
>>> is_path_like("verbose")
False