MCPcopy Create free account
hub / github.com/codemix/htmling / extractOptional

Function extractOptional

lib/parser.js:7754–7756  ·  view source on GitHub ↗
(optional, index)

Source from the content-addressed store, hash-verified

7752 }
7753
7754 function extractOptional(optional, index) {
7755 return optional ? optional[index] : null;
7756 }
7757
7758 function extractList(list, index) {
7759 var result = new Array(list.length), i;

Callers 2

peg$c63Function · 0.85
peg$c175Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…