Prism API - v1.29.0
    Preparing search index...

    Function toArray

    • Converts the given value to an array.

      If the given value is already an error, it will be returned as is.

      Type Parameters

      • T extends {}

      Parameters

      • value: T | T[]

      Returns T[]