function isArrayLikeObject(tsType) {
  const ts = /** @type {TypeScript} */ (getTypeScript())
  return (
    isObject(tsType) &&
    (tsType.objectFlags &
      (ts.ObjectFlags.ArrayLiteral |
        ts.ObjectFlags.EvolvingArray |
        ts.ObjectFlags.Tuple)) !==
      0
  )
}
Check if a given type is an array-like type or not.
@param {Type} tsType The type to check.