UNPKG

turtlecoin-wallet-backend

Version:

[![Build Status](https://travis-ci.org/turtlecoin/turtlecoin-wallet-backend-js.svg?branch=master)](https://travis-ci.org/turtlecoin/turtlecoin-wallet-backend-js)

10 lines (9 loc) 805 B
export declare function assertStringOrUndefined(param: unknown, name: string): void; export declare function assertString(param: unknown, name: string): void; export declare function assertNumberOrUndefined(param: unknown, name: string): void; export declare function assertNumber(param: unknown, name: string): void; export declare function assertBooleanOrUndefined(param: unknown, name: string): void; export declare function assertBoolean(param: unknown, name: string): void; export declare function assertArrayOrUndefined(param: unknown, name: string): void; export declare function assertArray(param: unknown, name: string): void; export declare function assertType(param: unknown, name: string, correctType: string, typeVerificationFunc: (param: unknown) => boolean, allowUndefined: boolean): void;