discordx
    Preparing search index...

    Function toStringArray

    • Converts the provided arguments into a single flat array of strings. Accepts multiple arguments, each of which can be a string or an array of strings. If an argument is a string, it is wrapped in an array. If it is an array, it is flattened.

      Parameters

      • ...input: (string | string[])[]

        One or more strings or arrays of strings.

      Returns string[]

      A flat array of strings.