UNPKG

@storm-stack/types

Version:

⚡ The storm-stack monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.

10 lines (9 loc) 243 B
import { EMPTY_STRING } from "../utility-types/base.mjs"; import { isString } from "./is-string.mjs"; export const isEmptyString = (value) => { try { return isString(value) && value === EMPTY_STRING; } catch { return false; } };