MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / isListLike

Function isListLike

lib/core/common.py:3729–3739  ·  view source on GitHub ↗

Returns True if the given value is a list-like instance >>> isListLike([1, 2, 3]) True >>> isListLike('2') False

(value)

Source from the content-addressed store, hash-verified

3727 return retVal
3728
3729def isListLike(value):
3730 """
3731 Returns True if the given value is a list-like instance
3732
3733 >>> isListLike([1, 2, 3])
3734 True
3735 >>> isListLike('2')
3736 False
3737 """
3738
3739 return isinstance(value, (list, tuple, set, OrderedSet, BigArray))
3740
3741def getSortedInjectionTests():
3742 """

Callers 15

_saveToHashDBFunction · 0.90
startFunction · 0.90
directFunction · 0.90
checkCharEncodingFunction · 0.90
stringMethod · 0.90
listerMethod · 0.90
dbTablesMethod · 0.90
xpCmdshellEvalCmdMethod · 0.90
unionThreadFunction · 0.90
blindThreadFunction · 0.90
errorThreadFunction · 0.90
errorUseFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…