few cosmetic changes

This commit is contained in:
aleks-f
2012-12-03 20:35:49 -06:00
parent a02eeb6638
commit 1138f439af
3 changed files with 15 additions and 13 deletions

View File

@@ -102,6 +102,17 @@ Object::Ptr Array::getObject(unsigned int index) const
}
bool Array::isNull(unsigned int index) const
{
if ( index < _values.size() )
{
Dynamic::Var value = _values[index];
return value.isEmpty();
}
return true;
}
bool Array::isObject(unsigned int index) const
{
Var value = get(index);