MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / pluralize

Function pluralize

ui/plugins/ui/jasmine/jasmine-html.js:690–694  ·  view source on GitHub ↗
(singular, count)

Source from the content-addressed store, hash-verified

688 }
689
690 function pluralize(singular, count) {
691 const word = count == 1 ? singular : singular + "s"
692
693 return "" + count + " " + word
694 }
695
696 function specHref(result) {
697 // include window.location.pathname to fix issue with karma-jasmine-html-reporter in angular: see https://github.com/jasmine/jasmine/issues/1906

Callers 1

HtmlReporterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected