@univerjs/sheets-numfmt v0.1.17 • Docs
Function: getPatternPreview()
function getPatternPreview(
pattern,
value,
_locale?): {
color: negInfo.color;
result: string;
} | {
color: negInfo.color;
result: string;
}
Parameters
Parameter | Type |
---|---|
pattern | string |
value | number |
_locale ? | LocaleType |
Returns
{
color
: negInfo.color
;
result
: string
;
} | {
color
: negInfo.color
;
result
: string
;
}