Skip to content

Soup.length

github-actions[bot] edited this page Sep 30, 2024 · 2 revisions

length of the soup
type: Number

alt names:

  • size

list: pair:
const { Soup } = require('stews');

let arr = new Soup([ 1, 2, 3 ]);

console.log(arr.length);
const { Soup } = require('stews');

let obj = new Soup({ key1: "val1", key2: "val2" });

console.log(obj.length);
3
2


Stews Docs 🍲

🛈 Stew 🛈 Soup
🛈 Noodle 🛈 random

Clone this wiki locally