powered by
Helper function to test that the input is a Wave object. Will create an error if not.
validateIsWave(wave)
Object to test