networkx.utils.misc.is_string_like

is_string_like(obj)[source]

Check if obj is string.

Deprecated since version 2.6: This is deprecated and will be removed in NetworkX v3.0.