Variable toBuiltInIDConst
toBuiltInID: (fmtString: NumberFormatRef) => string | number | undefined = _FindBuiltInNumberFormatId
Type Declaration
-
- (fmtString: NumberFormatRef): string | number | undefined
-
Parameters
- fmtString: NumberFormatRef
Returns string | number | undefined
Returns the built-in numeric id for a format code, or the code itself if it is not a built-in. Numeric refs (already ids) pass through unchanged, which keeps stored ids lossless through the xlsx writer.