MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / test

Function test

src/settings/editorSettings.js:55–58  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

53 promptType: "number",
54 promptOptions: {
55 test(value) {
56 value = Number.parseFloat(value);
57 return value >= 1 && value <= 2;
58 },
59 },
60 info: strings["settings-info-editor-line-height"],
61 category: categories.textLayout,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected