If object is double then return it otherwise default value
double? asDoubleOr([double? defaultValue]) { return _getValueOr<double>(defaultValue); }