UNPKG

@hhgtech/hhg-components

Version:
11 lines (10 loc) 587 B
import { LocaleType } from "../../../interfaces/types"; export declare function isDefined<T>(argument: T | undefined | null): argument is T; export declare function isNullOrUndefinedOrEmptyString<T>(argument: T | null | undefined | ''): argument is T; export declare function trimObjectForQuery(object: { [k: string]: string | number | null | undefined; }): { [k: string]: string | number; }; export declare function numberWithCommas(x: number | string): string; export declare function currencyFormat(x: number | string, locale: LocaleType, currency: string): string;