Module:Set to list/doc
Appearance
![]() | This is a documentation subpage for Module:Set to list. It may contain usage information, categories and other content that is not part of the original module page. |
This is a meta-module, designed to convert a "set" table (keys where the values are set to true) into a list. It does not work if called from a regular template.
Syntax
[edit]require('Module:Set to list').setToList( { a = true , b = true , c = true } )
returns
{ a , b , c }