MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / convertObjectToString

Function convertObjectToString

lib/utilities/ember-app-utils.js:34–36  ·  view source on GitHub ↗

* Converts Javascript Object to a string. * Returns an empty object string representation if a "falsy" value is passed * in. * * @method convertObjectToString * @param {Object} Any Javascript Object. * @return {String} A string representation of a Javascript Object.

(env)

Source from the content-addressed store, hash-verified

32 * @return {String} A string representation of a Javascript Object.
33 */
34function convertObjectToString(env) {
35 return JSON.stringify(env || {});
36}
37
38/**
39 * Returns the content for a specific type (section) for index.html.

Callers 3

contentForFunction · 0.85
replacementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…