MCPcopy Create free account
hub / github.com/VCVRack/Rack / isBounded

Method isBounded

src/Quantity.cpp:184–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184bool Quantity::isBounded() {
185 return std::isfinite(getMinValue()) && std::isfinite(getMaxValue());
186}
187
188float Quantity::toScaled(float value) {
189 if (!isBounded())

Callers 10

processMethod · 0.80
paramsToJsonMethod · 0.80
json_array_foreachFunction · 0.80
onResetMethod · 0.80
onRandomizeMethod · 0.80
onChangeMethod · 0.80
onDragMoveMethod · 0.80
onHoverScrollMethod · 0.80
createContextMenuMethod · 0.80
resetActionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected