Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DeepNotesApp/DeepNotes
/ sign
Method
sign
packages/@stdlib/misc/src/vec2.ts:105–107 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
103
}
104
105
sign(): Vec2 {
106
return
new
Vec2(Math.sign(this.x), Math.sign(this.y));
107
}
108
abs(): Vec2 {
109
return
new
Vec2(Math.abs(this.x), Math.abs(this.y));
110
}
Callers
3
grow
Method · 0.95
perform
Method · 0.80
constructor
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected