If you only want to run the `takeWhile` on the fir...
# announcements
z
If you only want to run the
takeWhile
on the first item you could do:
Copy code
mySequence
	.withIndex()
	.takeWhile { only check when index is 1 }
	.map { it.value }
	...