UNPKG

terriajs

Version:

Geospatial data visualization platform.

8 lines 218 B
/** * Ensures that the given `str` ends with the given `char`. * */ export default function ensureSuffix(str, char) { return str.endsWith(char) ? str : `${str}${char}`; } //# sourceMappingURL=ensureSuffix.js.map