MCPcopy Index your code
hub / github.com/ciphermodelabs/ciphercore / constant

Function constant

ciphercore-base/src/ops/utils.rs:139–141  ·  view source on GitHub ↗
(g: &Graph, v: TypedValue)

Source from the content-addressed store, hash-verified

137}
138
139pub fn constant(g: &Graph, v: TypedValue) -> Result<Node> {
140 g.constant(v.t, v.value)
141}
142
143pub fn constant_scalar<T: TryInto<u128> + Not<Output = T> + TryInto<u8> + Copy>(
144 g: &Graph,

Callers 1

constant_scalarFunction · 0.85

Calls 1

constantMethod · 0.45

Tested by

no test coverage detected