Tests if a snak is a CommonsMediaSnak.
The snak to check.
True if the snak is a CommonsMediaSnak.
if (isCommonsMediaSnak(snak)) { // Do something } Copy
if (isCommonsMediaSnak(snak)) { // Do something }
Tests if a snak is a CommonsMediaSnak.