dot-plural: Add '-s' to the end of a string based on a count

.pluralR Documentation

Add '-s' to the end of a string based on a count

Description

Does exactly what the title says.

Usage

.plural(string, count)

Arguments

string

a single string.

count

a single number that determines the addition of "-s".

Value

A single string.


bggAnalytics documentation built on Aug. 31, 2022, 5:09 p.m.