@tanzanite/discord-akairo
    Preparing search index...

    Function isArrayOf

    • Checks if array is an array and its elements are typeof of type

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array to check.

      • type:
            | "string"
            | "number"
            | "bigint"
            | "boolean"
            | "symbol"
            | "undefined"
            | "object"
            | "function"

        The type to check the elements' type against.

      Returns boolean

      Whether the array is an array and its elements are typeof of type.