1 2 3 4 5 6 7 8
import { BigNumber } from '@0x/utils'; export function bigNumbertoStringOrNull(n: BigNumber): string | null { if (n == null) { return null; } return n.toString(); }