MCPcopy Create free account
hub / github.com/GollyGang/ready / UsingKeyword

Function UsingKeyword

src/readybase/utils.cpp:209–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207// ---------------------------------------------------------------------------------------------------------
208
209bool UsingKeyword(const vector<string>& formula_tokens, const string& keyword)
210{
211 return find(formula_tokens.begin(), formula_tokens.end(), keyword) != formula_tokens.end();
212 // TODO: parse properly: ignore comments, not in string, etc.
213}
214
215// -------------------------------------------------------------------------

Callers 1

DetectInputsNeededFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected