A “!” before a variable means “check diversity” and output “true” if it is different.

if (!data) {
nextFrame();
}

Advertisements