Shortcuts

mmengine.utils.is_str

mmengine.utils.is_str(x)[源代码]

Whether the input is an string instance.

Note: This method is deprecated since python 2 is no longer supported.