Skip to main content
Version: 2.0.0-alpha

Function: singular

singular(word, amount?): string

Returns the singular of an English word.

export

Parameters

NameType
wordstring
amount?number

Returns

string

Defined in

lib/src/core/util/plurals.ts:100