UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

14 lines 378 B
/** * Returns the character correspondinf to the specified ASCII value * @param {number} val The ASCII value to convert to string * @returns The string with the character defined by the given ASCII value */ export const chr = (val) => { if (val >= 0) { return String.fromCharCode(val); } else { return ""; } }; //# sourceMappingURL=chr.js.map