code: function dynamic (val, toType, ctx) {
    if (Array.isArray(val)) {
      return _.map(val, function (v) {
        return dynamic(v, toType, ctx);
      });
    }
    return (new Dynamic(val, ctx)).to(toType);
  }
docs: Use dynamic to coerce a value or array of values.