"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * Retrieves the last element of the array.
 *
 * @param arr Initial array
 * @returns Last element (undefined for an empty array)
 */
const last_ = (arr) => arr[arr.length - 1];
exports.last_ = last_;
exports.default = last_;
