acl-js/src-js/sample_type.js
// Returns the C++ enum value for the given SampleType.
Returns the C++ enum value for the given SampleType.
Returns the C ++ enum value for the given SampleType .
function sampleTypeToMetadata(sampleType) {
  switch (sampleType) {
    case SampleType.QVV:
      return 0
    case SampleType.Float:
      return 1
    default:
      return -1
  }
}
function sampleTypeToMetadata ( sampleType ) { switch ( sampleType ) { case SampleType . QVV : return 0 case SampleType . Float : return 1 default : return - 1 } }
Returns the C++ enum value for the given SampleType.
Returns the C ++ enum value for the given SampleType .