MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / IsVecFunction

Method IsVecFunction

src/function/isvecfunction.cpp:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include "vectorvalue.h"
23
24IsVecFunction::IsVecFunction(int s) :
25 Function(QString("is_vec%1").arg(s)),
26 size(s)
27{
28 addDescription(tr("Returns true when the given value is a %1 vector.").arg(s));
29 addParameter("value");
30}
31
32Value& IsVecFunction::evaluate(const Context& ctx) const
33{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected