We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20f7308 commit 05681d8Copy full SHA for 05681d8
src/utils/string.js
@@ -1,6 +1,8 @@
1
-export function pluralise(count, string) {
+const pluralise = (count, string) => {
2
if (count !== 1) {
3
return `${string}s`
4
}
5
return string
6
7
+
8
+module.exports = { pluralise }
0 commit comments