MCPcopy
hub / github.com/Worklenz/worklenz / getOption

Function getOption

worklenz-backend/src/public/tinymce/tinymce.js:1989–1989  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1987 return getOption(element).getOr('');
1988 };
1989 const getOption = element => is(element) ? Optional.from(element.dom.nodeValue) : Optional.none();
1990 const set = (element, value) => {
1991 if (!is(element)) {
1992 throw new Error('Can only set raw ' + name + ' value of a ' + name + ' node');

Callers 8

getFunction · 0.70
getEndFunction · 0.70
mkParserSettingsFunction · 0.70
mkSchemaSettingsFunction · 0.70
mkSerializerSettingsFunction · 0.70
constructorMethod · 0.70
convertURLMethod · 0.70

Calls 4

isFunction · 0.70
fromMethod · 0.45
noneMethod · 0.45
getOptionMethod · 0.45

Tested by

no test coverage detected