MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / prose

Function prose

javascript/selenium-webdriver/project_bidi_schema.mjs:1089–1089  ·  view source on GitHub ↗
(u)

Source from the content-addressed store, hash-verified

1087
1088 writeFileSync(resolve(args['dump-schema']), JSON.stringify(schema, null, 2) + '\n', 'utf8')
1089 const prose = (u) => (u && !u.includes('#cddl-') ? 1 : 0)
1090 const linkedTypes = Object.values(schema.types).filter((t) => t.specHref)
1091 const proseTypes = linkedTypes.filter((t) => prose(t.specHref)).length
1092 console.log(

Callers 1

mainFunction · 0.85

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected