@mapcss/preset-svg
Version:
SVG as CSS for MapCSS
19 lines (18 loc) • 361 B
JavaScript
/**
* Whatever argument is empty string or not
* @param value Any string value
* @returns The result of `value === ''`
*
* @example
* ```ts
* import { isEmptyString } from './mod.ts'
* isEmptyString('') // true
* isEmptyString('test') // false
* ```
*
* @beta
*/
function isEmptyString(value) {
return value === "";
}
export { isEmptyString };