UNPKG

@adyen/adyen-platform-experience-web

Version:

![Platform Experience header](https://github.com/Adyen/adyen-platform-experience-web/assets/7926613/18094965-9e01-450e-8dc9-ea84e6b22c2b)

7 lines (6 loc) 255 B
import { isNullish as e, isString as o } from "./is.js"; const l = (i) => i && (i == null ? void 0 : i.length) > 0 ? `${i[0].toUpperCase()}${i.slice(1)}` : i, n = (i) => e(i) || o(i) && /^\s*$/.test(i); export { l as capitalize, n as isEmptyString };