MCPcopy
hub / github.com/evilstreak/markdown-js / extract_attr

Function extract_attr

lib/markdown.js:1463–1470  ·  view source on GitHub ↗
( jsonml )

Source from the content-addressed store, hash-verified

1461}
1462
1463function extract_attr( jsonml ) {
1464 return isArray(jsonml)
1465 && jsonml.length > 1
1466 && typeof jsonml[ 1 ] === "object"
1467 && !( isArray(jsonml[ 1 ]) )
1468 ? jsonml[ 1 ]
1469 : undefined;
1470}
1471
1472
1473

Callers 3

markdown.jsFile · 0.85
convert_tree_to_htmlFunction · 0.85
merge_text_nodesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected