packages/mdast-util-to-bemjson/lib/transform.js
function _hasChildren(content) {
    if (!content) return false;
    if (typeof content === 'object') return true;
    if (Array.isArray(content) && content.every(item => typeof item === 'string')) return false;
    return false;
}
function _hasChildren(content) {
    if (!content) return false;
    if (typeof content === 'object') return true;
    if (Array.isArray(content) && content.every(item => typeof item === 'string')) return false;
    return false;
}
function _hasChildren ( content ) { if ( ! content ) return false ; if ( typeof content === 'object' ) return true ; if ( Array . isArray ( content ) && content . every ( item => typeof item === 'string' ) ) return false ; return false ; }
Check is content of bemNode value, or children

@param {Object|Array|String|undefined} content - bemNode content
@returns {Boolean} is content of bemNode are children
@private
Check is content of bemNode value or children