Revision dd076c21 lib/ht.py
b/lib/ht.py | ||
---|---|---|
259 | 259 |
return isinstance(val, list) |
260 | 260 |
|
261 | 261 |
|
262 |
@WithDesc("Tuple") |
|
263 |
def TTuple(val): |
|
264 |
"""Checks if the given value is a tuple. |
|
265 |
|
|
266 |
""" |
|
267 |
return isinstance(val, tuple) |
|
268 |
|
|
269 |
|
|
262 | 270 |
@WithDesc("Dictionary") |
263 | 271 |
def TDict(val): |
264 | 272 |
"""Checks if the given value is a dictionary. |
Also available in: Unified diff