text: import * as C from '../../../i18n/constants';
  import { registerCondition } from '../conditionRegisterer';
  import { isEmpty } from '../../../helpers/mixed';
  
  export const CONDITION_NAME = 'empty';
  
  /**
   * @param {object} dataRow The object which holds and describes the single cell value.
   * @returns {boolean}
   */
  export function condition(dataRow) {
    return isEmpty(dataRow.value);
  }
  
  registerCondition(CONDITION_NAME, condition, {
    name: C.FILTERS_CONDITIONS_EMPTY,
    inputsCount: 0,
    showOperators: true
  });
  