UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

11 lines 292 B
/** * Return character at position * @param {string} target * @param {number} from * @return {string} */ export const charAt = (target, from) => { let chars = Array.from(target); return from < 1 || from > chars.length ? "" : chars[from - 1]; }; //# sourceMappingURL=charAt.js.map