Files
coopgo/node_modules/hast-util-to-mdast/lib/util/list-items-spread.js
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

18 lines
246 B
JavaScript

'use strict'
module.exports = spread
function spread(children) {
var index = -1
if (children.length > 1) {
while (++index < children.length) {
if (children[index].spread) {
return true
}
}
}
return false
}