MCPcopy
hub / github.com/sparkjsdev/spark / neg

Function neg

src/dyno/math.ts:87–88  ·  view source on GitHub ↗
(a: DynoVal<A>)

Source from the content-addressed store, hash-verified

85 new Modf({ a }).outputs;
86
87export const neg = <A extends AllSignedTypes>(a: DynoVal<A>): DynoVal<A> =>
88 new Neg({ a });
89export const abs = <A extends SignedTypes>(a: DynoVal<A>): DynoVal<A> =>
90 new Abs({ a });
91export const sign = <A extends SignedTypes>(a: DynoVal<A>): DynoVal<A> =>

Callers 2

makeDepthColorModifierFunction · 0.90
makeNormalColorModifierFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected