Stew.length - shysolocup/stews GitHub Wiki
length of the stew
type: Number
alt names:
- size
list: | pair: |
const { Stew } = require('stews');
let arr = new Stew([ 1, 2, 3 ]);
console.log(arr.length); |
const { Stew } = require('stews');
let obj = new Stew({ key1: "val1", key2: "val2" });
console.log(obj.length); |
3 |
2 |