src/observations/isImputed.js
/**
* Check if the given observation is imputed.
* @param {Object} observation
* @return {bool} Return true if observation is imputed
*/
export const isImputed = (observation) => observation.isImputed === 1;
/**
* Check if the given observation is imputed.
* @param {Object} observation
* @return {bool} Return true if observation is imputed
*/
export const isImputed = (observation) => observation.isImputed === 1;