UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

8 lines 313 B
export const fixTypeToClass = (sourceValue, targetValue) => { if (typeof sourceValue === "string" && typeof targetValue === "number") { // Numbers should need conversion from string to number type return +sourceValue; } return sourceValue; }; //# sourceMappingURL=fixTypeToClass.js.map