"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPositiveInteger = void 0;
const isPositiveInteger = (index) => {
    if (typeof index !== 'string') {
        return false;
    }
    const num = Number(index);
    if (Number.isInteger(num) && num >= 0) {
        return true;
    }
    return false;
};
exports.isPositiveInteger = isPositiveInteger;
