(v, opts, dflt)
| 309 | coerceFunction: function(v, propOut, dflt, opts) { |
| 310 | // simplified coerce function just for array items |
| 311 | function coercePart(v, opts, dflt) { |
| 312 | var out; |
| 313 | var propPart = {set: function(v) { out = v; }}; |
| 314 | |
| 315 | if(dflt === undefined) dflt = opts.dflt; |
| 316 | |
| 317 | exports.valObjectMeta[opts.valType].coerceFunction(v, propPart, dflt, opts); |
| 318 | |
| 319 | return out; |
| 320 | } |
| 321 | |
| 322 | if(isTypedArraySpec(v)) v = decodeTypedArraySpec(v); |
| 323 |
no outgoing calls
no test coverage detected
searching dependent graphs…