MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getParameterAsMap

Method getParameterAsMap

valdi_core/src/valdi_core/cpp/Utils/ValueFunction.cpp:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45Ref<ValueMap> ValueFunctionCallContext::getParameterAsMap(size_t index) const {
46 return getParameter(index).checkedTo<Ref<ValueMap>>(_exceptionTracker);
47}
48
49Ref<ValueFunction> ValueFunctionCallContext::getParameterAsFunction(size_t index) const {
50 return getParameter(index).checkedTo<Ref<ValueFunction>>(_exceptionTracker);

Callers 1

TEST_PFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_PFunction · 0.64