aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-wrapper/src/utils.ts
blob: 376f7e89bd21757f39d984e7611bc076f826ae9a (plain) (blame)
1
2
3
4
5
6
7
8
import * as _ from 'lodash';

export const utils = {
    isBigNumber(value: any): boolean {
        const isBigNumber = _.isObject(value) && (value as any).isBigNumber;
        return isBigNumber;
    },
};