isstring#

isstring(obj)[source]#

Determine whether or not the input is string-like (i.e., str or bytes).

Equivalent to isinstance(obj, (str, bytes))