MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / contains

Method contains

include/stringzilla/stringzilla.hpp:2125–2125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2123#pragma region Matching Substrings
2124
2125 bool contains(string_view other) const noexcept { return find(other) != npos; }
2126 bool contains(value_type character) const noexcept { return find(character) != npos; }
2127 bool contains(const_pointer other) const noexcept { return find(other) != npos; }
2128

Callers

nothing calls this directly

Calls 1

findFunction · 0.85

Tested by

no test coverage detected