MCPcopy
hub / github.com/lowlighter/metrics / getForce

Function getForce

source/plugins/community/splatoon/s3si/index.ts:718–722  ·  view source on GitHub ↗
(obj, key)

Source from the content-addressed store, hash-verified

716 }
717}
718function getForce(obj, key) {
719 const v = get(obj, key);
720 assert(v != null);
721 return v;
722}
723function isNumber(x) {
724 if (typeof x === "number") return true;
725 if (/^0x[0-9a-f]+$/i.test(String(x))) return true;

Callers 2

parseFunction · 0.85
aliasIsBooleanFunction · 0.85

Calls 2

assertFunction · 0.85
getFunction · 0.70

Tested by

no test coverage detected