MCPcopy Create free account
hub / github.com/ember-learn/ember-api-docs / functionHeadingId

Function functionHeadingId

app/helpers/function-heading-id.js:4–6  ·  view source on GitHub ↗
([heading] /*, hash*/)

Source from the content-addressed store, hash-verified

2import { A } from '@ember/array';
3
4export function functionHeadingId([heading] /*, hash*/) {
5 return `functions-${A(heading.split('/')).get('lastObject')}`;
6}
7
8export default helper(functionHeadingId);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected