Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 621 Bytes

Plural.md

File metadata and controls

40 lines (25 loc) · 621 Bytes

plural

Example#1

import JStr from "@akcybex/jstr";

const result = JStr.plural("man");
console.log(result); // Outputs: 'men'

Example#2

import JStr from "@akcybex/jstr";

const result = JStr.plural("dog");

console.log(result); // Outputs: 'dogs'

Example#3

import JStr from "@akcybex/jstr";

const result = JStr.of("foot").plural().toString();

console.log(result); // Outputs: 'feet'

Example#4

import JStr from "@akcybex/jstr";

const result = JStr.of("fish").plural().toString();

console.log(result); // Outputs: 'fish'