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