hasTargets

fun List<Pair<PhotonModule, PhotonPipelineResult>>.hasTargets(): Boolean

Extension function for a list of Pair of PhotonModule and PhotonPipelineResult to check if any have targets.

This function iterates through each pair in the list and checks if the PhotonPipelineResult has targets.

Receiver

List of Pair of PhotonModule and PhotonPipelineResult to check.

Return

Boolean True if any pair has targets, false otherwise.