Return `True` if object is a string but not an [`AtomicString`][markdown.util.AtomicString].
(s: object)
| 46 | |
| 47 | |
| 48 | def isString(s: object) -> bool: |
| 49 | """ Return `True` if object is a string but not an [`AtomicString`][markdown.util.AtomicString]. """ |
| 50 | if not isinstance(s, util.AtomicString): |
| 51 | return isinstance(s, str) |
| 52 | return False |
| 53 | |
| 54 | |
| 55 | class Treeprocessor(util.Processor): |
no outgoing calls
no test coverage detected