2.1.44. czekitout.check.if_str_like
- if_str_like(obj, obj_name)[source]
Check whether input object is string-like.
If the input object is not string-like, then a TypeError exception is raised with the message:
The object ``<obj_name>`` must be string-like.
where <obj_name> is replaced by the contents of the string
obj_name
.- Parameters:
- objany type
Input object.
- obj_namestr
Name of the input object.