"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.giveDefaultValue = giveDefaultValue;

function giveDefaultValue(value) {
  if (value === true || value === 'true') {
    return true;
  }

  if (value === false || value === 'false' || value === '') {
    return false;
  }

  return value;
}