FinOpenPOS
API ReferenceFunctions

getStateByCode()

@finopenpos/fiscal / getStateByCode

function getStateByCode(code): string;

Defined in: state-codes.ts:55

Get the UF abbreviation for an IBGE numeric code.

Parameters

ParameterType
codestring

Returns

string

Throws

if the code is unknown

On this page