fun test1(x: Any): Boolean {
  return when {
    x is Array<*> -> isArrayOf<String>($receiver = x /*as Array<*> */)
    true -> false
  }
}

