UNPKG

@yoroi/common

Version:
14 lines 669 B
/** * Returns a string representation of the given value, if possible. * @param {string | string[] | undefined | null} value - The value to convert to a string. * @returns {string} A string representation of the value, or undefined if not possible. */ export declare function asConcatenedString(value: string | string[] | undefined | null): string | undefined; export declare function truncateString({ value, maxLength, separator, }: { value: string; maxLength: number; separator?: string; }): string; export declare function hexToAscii(hex: string): string; export declare function asciiToHex(str: string): string; //# sourceMappingURL=strings.d.ts.map