Function pluralize

  • pluralizes words of the English language.

    Parameters

    • singular: string

      An English word in singular form.

    Returns string

    The pluralized form of singular.

    Example

    Pluralize 'money':

    import { pluralize } from '@sgrud/core';

    pluralize('money'); // 'money'

    Example

    Pluralize 'thesis':

    import { pluralize } from '@sgrud/core';

    pluralize('thesis'); // 'theses'

Generated using TypeDoc