Discord.https - v3.0.16
    Preparing search index...
    • Verifies the provided data is a string, otherwise throws the provided error.

      Parameters

      • data: string
      • error: new (...a: any[]) => Error
      • errorMessage: string = ...
      • allowEmpty: boolean = true

      Returns string