Question: table membership

The member command allows testing, if a value is in a table.

But is it possible to check if the index is used, not the value?

L["hello"] := "funny"

"funny"

(1)

member("hello", L)

false

(2)

member("funny", L)

true

(3)

``

Download list.mw

Please Wait...