MCPcopy Index your code
hub / github.com/electerious/basicScroll / parseAbsoluteValue

Function parseAbsoluteValue

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

Source from the content-addressed store, hash-verified

86 * @returns {Object} value - Parsed value.
87 */
88const parseAbsoluteValue = function(value) {
89
90 const parsedValue = parseUnit(value)
91
92 return {
93 value: parsedValue[0],
94 unit: parsedValue[1]
95 }
96
97}
98
99/**
100 * Checks if a value is relative.

Callers 1

validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected