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) 233 B
import { isNullish as e, isString as o } from "./is.js"; const t = (i) => i && i?.length > 0 ? `${i[0].toUpperCase()}${i.slice(1)}` : i, l = (i) => e(i) || o(i) && /^\s*$/.test(i); export { t as capitalize, l as isEmptyString };