UNPKG

@devlander/utils

Version:

Comprehensive JavaScript and TypeScript utilities for seamless development. Includes object manipulation, data validation, and more.

9 lines (8 loc) 323 B
/** * Validates if a string is a valid base64-encoded string * * Checks if the string contains only valid base64 characters and has proper padding. * @param str - The string to validate * @returns `true` if the string is valid base64, otherwise `false` */ export declare function isValidBase64(str: string): boolean;