__len
local vmi = context:viewModel() if vmi then local textAlignment = vmi:getEnum('textAlignment') if textAlignment then local values = textAlignment:values() print('count: ', #values) end end
Was this page helpful?