MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / isString

Function isString

markdown/treeprocessors.py:4–6  ·  view source on GitHub ↗

Check if it's string

(s)

Source from the content-addressed store, hash-verified

2import re
3
4def isString(s):
5 """ Check if it's string """
6 return isinstance(s, str) or isinstance(s, str)
7
8class Processor:
9 def __init__(self, markdown_instance=None):

Callers 2

__processPlaceholdersMethod · 0.85
__applyPatternMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected