Skip to main content

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

str
required
String to check

Returns

bool
True if string looks like a path

Usage

Uses

  • isalpha
  • value.rsplit

Source

View on GitHub

praisonaiagents/config/parse_utils.py at line 53