Shortcuts

mmeval.utils.is_filepath

mmeval.utils.is_filepath(x)[source]

Check if the given object is Path-like.

Parameters

x (object) – Any object.

Returns

Returns True if the given is a str or pathlib.Path. Otherwise, returns False.

Return type

bool

Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.