Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var isMidi = function isMidi(m) {
return tonalPitches.isValue(m) && !tonalPitches.isArr(m) && m >= 0 && m < 128;
};
export const isMidi = (m) => isValue(m) && !isArr(m) && m >= 0 && m < 128