MCPcopy
hub / github.com/electerious/basicScroll / isRelativeValue

Function isRelativeValue

src/scripts/main.js:105–109  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

103 * @returns {Boolean} isRelative
104 */
105const isRelativeValue = function(value) {
106
107 return String(value).match(/^[a-z]+-[a-z]+$/) !== null
108
109}
110
111/**
112 * Returns the property that should be used according to direct.

Callers 1

validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected