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

Function isProject

app/models/Level.js:29–31  ·  view source on GitHub ↗
(level)

Source from the content-addressed store, hash-verified

27// Accessible via eg. `Level.isProject(levelObj)`
28const LevelLib = {
29 isProject (level) {
30 return (level != null ? level.shareable : undefined) === 'project'
31 },
32}
33
34module.exports = (Level = (function () {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected