tasks/json5_to_json.js
function detectDestType(dest) {
        if (grunt.util._.endsWith(dest, '/')) {
            return cnst.directory;
        } else {
            return cnst.file;
        }
    }
function detectDestType(dest) {
        if (grunt.util._.endsWith(dest, '/')) {
            return cnst.directory;
        } else {
            return cnst.file;
        }
    }
Private functions.