• Check if the given string is a valid Base64 string

    Parameters

    • str: string

      the string to check

    Returns boolean

    true if valid Base64, false otherwise