vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Function isReadonlyArray

    • Type guard to ensure the parameter passed it of type Array; uses Array.isArray to check if the passed arg is an Array; does not validate if the array is actually readonly.

      Type Parameters

      • T

      Parameters

      • arg: unknown

        Type to check

      Returns arg is readonly T[]

      True if the type is an readonly array other wise false