Prism API
    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 | readonly T[]

      Returns readonly T[]