"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "tryParseInt", {
    enumerable: true,
    get: function() {
        return tryParseInt;
    }
});
const tryParseInt = (value)=>{
    if (value == null) return;
    if (typeof value === "string") value = parseInt(value.trim());
    return Number.isSafeInteger(value) ? value : undefined;
};
