MCPcopy Create free account
hub / github.com/Noumena-Network/code / isValidNumericEffort

Function isValidNumericEffort

src/utils/effort.ts:221–223  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

219}
220
221export function isValidNumericEffort(value: number): boolean {
222 return Number.isInteger(value)
223}
224
225export function convertEffortValueToLevel(value: EffortValue): EffortLevel {
226 if (typeof value === 'string') {

Callers 1

parseEffortValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected