API Docs for: v3.9.0-beta.1
Show:

File: addon/-private/system/normalize-model-name.js

import { dasherize } from '@ember/string';

// All modelNames are dasherized internally. Changing this function may
// require changes to other normalization hooks (such as typeForRoot).

/**
 This method normalizes a modelName into the format Ember Data uses
 internally.

  @method normalizeModelName
  @public
  @param {String} modelName
  @return {String} normalizedModelName
  @for DS
*/
export default function normalizeModelName(modelName) {
  return dasherize(modelName);
}