| 233 | coerceFunction: function(v, propOut, dflt, opts) { |
| 234 | var regex = opts.regex || counterRegex(dflt); |
| 235 | const isSubplotId = value => typeof value === 'string' && regex.test(value); |
| 236 | if (isSubplotId(v) || (opts.arrayOk && isArrayOrTypedArray(v) && v.length > 0 && v.every(isSubplotId))) { |
| 237 | propOut.set(v); |
| 238 | } else { |
no outgoing calls
no test coverage detected
searching dependent graphs…