SonarJS linter helper functions
    Preparing search index...

    Function isArrayLikeType

    • This function checks if a type may correspond to an array type. Beyond simple array types, it will also consider the union of array types and generic types extending an array type.

      Parameters

      • type: Type

        A type to check

      • services: ParserServicesWithTypeInformation

        The services used to get access to the TypeScript type checker

      Returns boolean