MCPcopy Create free account
hub / github.com/AGenUI/AGenUI / parseGradient

Function parseGradient

tests/cpp/style_parser/color_parser_test.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21static bool parseGradient(const std::string& css, ColorValue& cv) {
22 if (!ColorParser::parse(css, cv)) return false;
23 return cv.type == ColorValueType::Gradient;
24}
25
26// ============================================================================
27// Hex colors

Callers 2

TESTFunction · 0.70
parseMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected