<commit_before>/**
 * Takes any GeoJSON object and
 * flips all of its coordinates from [x, y] to [y, x].
 *
 * @module turf/flip
 * @param {GeoJSON} input
 * @returns {FeatureCollection} output
 * @example
 * var poly = turf.polygon([[[1,0], [1,0], [1,2]], [[.2,.2], [.3,.3],[.1,.2]]]);
 * //=poly
 * var flipped = turf.flip(poly);
 * //=flipped
 */
module.exports = flipAny;

function flipAny(_) {
    // ensure that we don't modify features in-place and changes to the<commit_msg>Fix example.<commit_after>/**
 * Takes any GeoJSON object and flips all of its coordinates
 * from `[x, y]` to `[y, x]`.
 *
 * @module turf/flip
 * @param {GeoJSON} input
 * @returns {GeoJSON} output
 * @example
 * var saudiArabia = turf.point([20.56640625, 43.42100882994726]);
 * //=saudiArabia
 * var serbia = turf.flip(saudiArabia);
 * //=serbia
 */
module.exports = flipAny;

function flipAny(_) {
    // ensure that we don't modify features in-place and changes to the
{'fraction_non_alphanumeric': 0.17450365726227796, 'fraction_numerical': 0.03970741901776385, 'mean_word_length': 3.605769230769231, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6040644', 'n_tokens_mistral': 373, 'n_tokens_neox': 339, 'n_words': 103}