Module:TableTools: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
check type of prefix and suffix
(add type checking)
(check type of prefix and suffix)
Line 214:
function p.affixNums(t, prefix, suffix)
checkType('affixNums', 1, t, 'table')
checkType('affixNums', 2, prefix, 'string', true)
checkType('affixNums', 3, suffix, 'string', true)
prefix = prefix or ''
suffix = suffix or ''
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu