@ironarachne/rng
    Preparing search index...

    Function item

    • Returns a random item from an array.

      Type Parameters

      • T

      Parameters

      • items: T[]

        The array to get the item from.

      Returns T

      A random item from the array.