function toOptionalString(value) {
  if (typeof value === "string" && value.trim()) return value;
  if (typeof value === "number" || typeof value === "bigint") return String(value);
  return null;
}
export {
  toOptionalString
};
//# sourceMappingURL=coerce.js.map
