MCPcopy Create free account
hub / github.com/argotorg/solidity / isByteArrayOrString

Method isByteArrayOrString

libsolidity/ast/Types.h:886–886  ·  view source on GitHub ↗

@returns true if this is a byte array or a string

Source from the content-addressed store, hash-verified

884 bool isByteArray() const { return m_arrayKind == ArrayKind::Bytes; }
885 /// @returns true if this is a byte array or a string
886 bool isByteArrayOrString() const { return m_arrayKind != ArrayKind::Ordinary; }
887 /// @returns true if this is a string
888 bool isString() const { return m_arrayKind == ArrayKind::String; }
889 Type const* baseType() const { solAssert(!!m_baseType, ""); return m_baseType; }

Callers 15

generateMethod · 0.80
formatTypeMethod · 0.80
endVisitMethod · 0.80
FunctionTypeMethod · 0.80
nativeMembersMethod · 0.80
visitPublicGetterMethod · 0.80
visitTypeConversionMethod · 0.80
cleanExpressionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected