Skip to content

Noodle.wordCount

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

number of words in the noodle
type: Number


const { Noodle } = require('stews');

let str = new Noodle("abc 123");

console.log(str.wordCount);
2


Stews Docs 🍲

🛈 Stew 🛈 Soup
🛈 Noodle 🛈 random

Clone this wiki locally