MCPcopy
hub / github.com/scrapinghub/splash / _table_is_array

Function _table_is_array

splash/lua.py:207–209  ·  view source on GitHub ↗
(lua, tbl)

Source from the content-addressed store, hash-verified

205
206
207def _table_is_array(lua, tbl):
208 mt = lua.eval("getmetatable")(tbl)
209 return mt == b"array"
210
211
212def python2lua(lua, obj, max_depth=100, encoding='utf8', keep_tuples=True):

Callers 1

l2pFunction · 0.85

Calls 1

evalMethod · 0.80

Tested by

no test coverage detected