acl-js/src-js/sample_type.js
// Returns true if the provided value is a proper SampleType instance.
Returns true if the provided value is a proper SampleType instance.
Returns true if the provided value is a proper SampleType instance .
function isSampleType(sampleType) {
  if (!sampleType) return false
  switch (sampleType) {
    case SampleType.QVV:
    case SampleType.Float:
      return true
    default:
      return false
  }
}
function isSampleType ( sampleType ) { if ( ! sampleType ) return false switch ( sampleType ) { case SampleType . QVV : case SampleType . Float : return true default : return false } }
Returns true if the provided value is a proper SampleType instance.
Returns true if the provided value is a proper SampleType instance .