acl-js/src-js/sample.js
// Returns true if the underlying sample is valid and finite.
Returns true if the underlying sample is valid and finite.
Returns true if the underlying sample is valid and finite .
isValid() {
    switch (this._type) {
      case SampleType.QVV:
        const qvv = this.getQVV(QVV.identity)
        return qvv.isValid()
      case SampleType.Float:
        const flt = this.getFloat()
        return Number.isFinite(flt)
      default:
        return false
    }
  }
isValid ( ) { switch ( this . _type ) { case SampleType . QVV : const qvv = this . getQVV ( QVV . identity ) return qvv . isValid ( ) case SampleType . Float : const flt = this . getFloat ( ) return Number . isFinite ( flt ) default : return false } }
Returns true if the underlying sample is valid and finite.
Returns true if the underlying sample is valid and finite .