FoundKey/packages/client/src/filters/number.ts
Johann150 808c43377e
refactor: use nullish coalescing & optional chaining
Changes several places to use the afforementioned constructs in favour of
ternary expressions.
2022-10-11 00:39:27 +02:00

2 lines
50 B
TypeScript

export default n => n?.toLocaleString() ?? 'N/A';