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

Function getFirstNonNull

app/core/utils.js:845–847  ·  view source on GitHub ↗
(...values)

Source from the content-addressed store, hash-verified

843}
844
845const getFirstNonNull = function (...values) {
846 return values.find(value => value != null)
847}
848
849const getSponsoredSubsAmount = function (price, subCount, personalSub) {
850 // 1 100%

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected