MCPcopy Create free account
hub / github.com/codecombat/codecombat / locationString

Method locationString

app/models/TrialRequest.js:26–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 }
25
26 locationString () {
27 const props = this.get('properties')
28 const values = _.filter(_.at(props, 'city', 'state', 'country'))
29 return values.join(' ')
30 }
31
32 educationLevelString () {
33 const levels = this.get('properties').educationLevel || []

Callers

nothing calls this directly

Calls 2

filterMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected