Files
whetstone_DSL/editor/src/AdapterOperationUtil.h

12 lines
361 B
C++

#pragma once
// Sprint 28 refactor: shared adapter operation helpers
#include <algorithm>
#include <string>
#include <vector>
inline bool adapterHasOperation(const std::vector<std::string>& operations,
const std::string& operation) {
return std::find(operations.begin(), operations.end(), operation) != operations.end();
}