|
- import copy
-
-
-
- def llm_by_value(f):
- def _f(*args, **kwargs):
- argsCopy = copy.deepcopy(args)
- kwargsCopy = copy.deepcopy(kwargs)
- return f(*argsCopy, **kwargsCopy)
- return _f
-
-
- def llm_isDigit(s):
- return s.isdigit()
-
-
- def llm_startsWith(s, prefix):
- return s.startswith(prefix)
-
-
- def llm_strToInt(s):
- return int(s)
|