MCPcopy Create free account
hub / github.com/breck7/scroll / isValueEmpty

Method isValueEmpty

external/.scrollLibs.js:14205–14207  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

14203 return str.length ? str.toLowerCase().replace(reg, "").replace(/ /g, "-") : ""
14204 }
14205 static isValueEmpty(value) {
14206 return value === undefined || value === "" || (typeof value === "number" && isNaN(value)) || (value instanceof Date && isNaN(value))
14207 }
14208 static stringToPermalink(str) {
14209 return this._permalink(str, /[^a-z0-9- _\.]/gi)
14210 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected