About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
lib
samual.uk
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
[READ-ONLY] Mirror of
https://github.com/samualtnorman/lib
. A collection of common utilities I need.
www.npmjs.com/package/@samual/lib
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
lib
/
src
/
lerp.ts
93 B
·
1 line
TypeScript
at
main
Blame
Download
Open raw file
samual.uk
·
add explicit return types to all exported functions
·
2y ago
09d2105b
1
2
export
const
lerp
=
(a
:
number
,
b
:
number
,
amount
:
number
)
:
number
=>
a
+
((b
-
a)
*
amount)