AllConfigStrings
This function was added in DSL 1
Description
Similar to AllConfigValues
, except it also parses each value like GetConfigString
would.
function AllConfigStrings(config, key) --[[ ... ]] end
Parameters
config
:userdata
- The configuration object to iterate over.key
:string
- The key to look up in the configuration.
Return Values
iterator
:function
- An iterator function that returns the next value in the configuration for the given key, parsed as a string.
Example
for value in AllConfigStrings(gConfig, 'some_key') do
print('Value: ' .. value)
end