మాడ్యూల్:Convert character width: కూర్పుల మధ్య తేడాలు
Content deleted Content added
add a fixme note |
check for frame variable type |
||
పంక్తి 25:
-- Converts multiple half-width characters to full-width characters.
function p.full( frame )
local s = type( frame ) == 'table' and frame.args and frame.args[ 1 ] or frame
s = type( s ) == 'number' and tostring( s ) or s
if type( s ) ~= 'string' then return end
పంక్తి 33:
-- Converts multiple full-width characters to half-width characters.
function p.half( frame )
local s = type( frame ) == 'table' and frame.args and frame.args[ 1 ] or frame
s = type( s ) == 'number' and tostring( s ) or s
if type( s ) ~= 'string' then return end
|