Determine whether a given string is base64 encoded

  • Parameters

    • value: string

      the string to verify

    • Optionallength: number

    Returns boolean

    boolean indicating if a value is a base64 encoded string