Renamed undocumented function isUndefined() to isUnbound()

This commit is contained in:
Benoit Blanchon
2021-12-16 14:55:26 +01:00
parent e16767af92
commit 0f529a3587
15 changed files with 26 additions and 24 deletions

View File

@@ -77,7 +77,7 @@ class ObjectConstRef : public ObjectRefBase<const CollectionData>,
// containsKey(const String&) const
template <typename TString>
FORCE_INLINE bool containsKey(const TString& key) const {
return !getMember(key).isUndefined();
return !getMember(key).isUnbound();
}
// containsKey(char*) const
@@ -85,7 +85,7 @@ class ObjectConstRef : public ObjectRefBase<const CollectionData>,
// containsKey(const __FlashStringHelper*) const
template <typename TChar>
FORCE_INLINE bool containsKey(TChar* key) const {
return !getMember(key).isUndefined();
return !getMember(key).isUnbound();
}
// getMember(const std::string&) const