UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

15 lines 412 B
"use strict"; /** * Return character at position * @param {string} target * @param {number} from * @return {string} */ Object.defineProperty(exports, "__esModule", { value: true }); exports.charAt = void 0; const charAt = (target, from) => { let chars = Array.from(target); return from < 1 || from > chars.length ? "" : chars[from - 1]; }; exports.charAt = charAt; //# sourceMappingURL=charAt.js.map