MCPcopy Create free account
hub / github.com/DjDeveloperr/deno_desktop / eq

Method eq

examples/extern/gmath.bundle.js:136–139  ·  view source on GitHub ↗
(other)

Source from the content-addressed store, hash-verified

134 return new Deg(-this.value);
135 }
136 eq(other) {
137 const value = other instanceof Angle ? other.toDeg().value : other;
138 return this.value === value;
139 }
140 normal() {
141 const rem = this.value % Deg.turn;
142 return new Deg(rem < 0 ? rem + Deg.turn : rem);

Callers

nothing calls this directly

Calls 1

toDegMethod · 0.45

Tested by

no test coverage detected