MCPcopy Index your code
hub / github.com/codecombat/codecombat / isID

Function isID

app/core/utils.js:702–702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

700}
701
702const isID = id => _.isString(id) && (id.length === 24) && (__guard__(id.match(/[a-f0-9]/gi), x1 => x1.length) === 24)
703
704const isRegionalSubscription = name => /_basic_subscription/.test(name)
705

Callers

nothing calls this directly

Calls 1

__guard__Function · 0.70

Tested by

no test coverage detected