{"size": 620, "ext": "js", "max_stars_repo_path": "app/unbundled-webcomponents/app/dist/build/es6/node_modules/@lrnwebcomponents/file-system-broker/lib/mammoth/test/docx/document-matchers.js", "max_stars_repo_name": "reyes-edwin/Hax11ty", "max_stars_repo_stars_event_min_datetime": "2022-02-23T23:52:44.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-28T22:49:20.000Z", "max_issues_repo_path": "app/unbundled-webcomponents/app/dist/build/es6/node_modules/@lrnwebcomponents/file-system-broker/lib/mammoth/test/docx/document-matchers.js", "max_issues_repo_name": "reyes-edwin/Hax11ty", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/unbundled-webcomponents/app/dist/build/es6/node_modules/@lrnwebcomponents/file-system-broker/lib/mammoth/test/docx/document-matchers.js", "max_forks_repo_name": "reyes-edwin/Hax11ty", "max_forks_repo_forks_event_min_datetime": "2022-02-27T21:10:30.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-27T21:10:30.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 620.0, "max_line_length": 620, "alphanum_fraction": 0.7919354839}
var e=require("hamjest"),t=require("underscore"),n=require("../../lib/documents");function isRun(e){return isDocumentElement(n.types.run,e)}function isDocumentElement(n,s){return e.hasProperties(t.extend({type:e.equalTo(n)},s))}exports.isEmptyRun=isRun({children:[]}),exports.isRun=isRun,exports.isText=function isText(e){return isDocumentElement(n.types.text,{value:e})},exports.isHyperlink=function isHyperlink(e){return isDocumentElement(n.types.hyperlink,e)},exports.isTable=function isTable(e){return isDocumentElement(n.types.table,e)},exports.isRow=function isRow(e){return isDocumentElement(n.types.tableRow,e)};