site-ui/src/helpers/ends-with.js (
2
lines of code) (
raw
):
'use strict' module.exports = (str, suffix) => str.endsWith(suffix)