Skip to content

Basic Methods

Science Spot edited this page Oct 19, 2020 · 1 revision

Basic Methods

const { belongs } = require('node-set-theory');

// The simple include() method
belongs([1, 2], 0); // Returns false
belongs([1, 2], 1); // Returns true.
Clone this wiki locally