acl-js/src-js/track.js
// Returns true if this track contains valid data.
Returns true if this track contains valid data.
Returns true if this track contains valid data .
isValid() {
    if (!this._desc.isValid()) {
      return false
    }
    for (let i = 0; i < this._numSamples; ++i) {
      if (!this._samples[i].isValid()) {
        return false
      }
    }
    return true
  }
isValid ( ) { if ( ! this . _desc . isValid ( ) ) { return false } for ( let i = 0 ; i < this . _numSamples ; ++ i ) { if ( ! this . _samples [ i ] . isValid ( ) ) { return false } } return true }
Returns true if this track contains valid data.
Returns true if this track contains valid data .