Changed instaces of isByteArrayOrString() to isByteArray() where it's only supposed to return a True for Bytes Type

This commit is contained in:
nishant-sachdeva
2022-02-02 17:05:26 +05:30
parent 9043621747
commit cc6344c03c
6 changed files with 12 additions and 10 deletions
+2
View File
@@ -837,6 +837,8 @@ public:
BoolResult validForLocation(DataLocation _loc) const override;
/// @returns true if this is a byte array.
bool isByteArray() const { return m_arrayKind == ArrayKind::Bytes; }
/// @returns true if this is a byte array or a string
bool isByteArrayOrString() const { return m_arrayKind != ArrayKind::Ordinary; }
/// @returns true if this is a string