has_more_graph

1.0.2 • Public • Published

判断是否存在多个图

Build Status codecov npm package NPM downloads

使用姿势

import { hasMoreGraph } from 'has_more_graph';

/**
 * @description: 判断是否存在多个图
 * @param {Array}  nodes
    [{
 *       source: 1,
 *       target: 2,
 *  }, {
        source: 5,
 *      target: 6,
    }]
 * @return: 
 */
hasMoreGraph(nodes);

Readme

Keywords

Package Sidebar

Install

npm i has_more_graph

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

21 kB

Total Files

14

Last publish

Collaborators

  • aw_fun