Skip to content

Documentation / @ember-data/request-utils / string / singular

ts
function singular(regex, string): void;

Defined in: -private/string/inflect.ts:203

Adds a singularization rule.

Parameters

regex

RegExp

string

string

Returns

void

Since

4.13.0

Released under the MIT License.