@eagleoutice/flowr - v2.15.8
    Preparing search index...
    • Whether value is an array, narrowing a readonly T[] as such rather than to any[].

      Array.isArray is declared as arg is any[], which a readonly T[] | Something union does not survive: the array branch loses its element type and the other branch is not narrowed at all. This keeps both.

      Type Parameters

      • T

      Parameters

      • value: unknown

        what to check

      Returns value is readonly T[]