MCPcopy Create free account
hub / github.com/vercel/hyper / valid

Function valid

bin/yarn-standalone.js:3312–3315  ·  view source on GitHub ↗
(version, loose)

Source from the content-addressed store, hash-verified

3310
3311exports.valid = valid;
3312function valid(version, loose) {
3313 var v = parse(version, loose);
3314 return v ? v.version : null;
3315}
3316
3317
3318exports.clean = clean;

Callers 2

validTransformationFunction · 0.85
yarn-standalone.jsFile · 0.85

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected