send the empty array using kotlin code example Example: create empty array in kotlin val stringArray = arrayOf<String>()