MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / validate

Function validate

dev/update-blueprint-dependencies.js:32–36  ·  view source on GitHub ↗
(data, key, value)

Source from the content-addressed store, hash-verified

30nopt.typeDefs['regexp'] = {
31 type: RegExp,
32 validate(data, key, value) {
33 let regexp = new RegExp(value);
34
35 data[key] = regexp;
36 },
37};
38
39const OPTIONS = nopt({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…