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