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

Method isString

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

@returns true if this is a string

Source from the content-addressed store, hash-verified

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; }
890 Type const* finalBaseType(bool breakIfDynamicArrayType) const;
891 u256 const& length() const { return m_length; }

Callers 6

visitMethod · 0.80
operator==Method · 0.80
nativeMembersMethod · 0.80
visitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected