This website requires JavaScript.
Explore
Help
Register
Sign In
public-offering
/
cal.pub0.org
Watch
1
Star
0
Fork
You've already forked cal.pub0.org
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
2cb1a62906
cal.pub0.org
/
packages
/
lib
/
isKeyInObject.ts
2 lines
95 B
TypeScript
Raw
Blame
History
export
const
isKeyInObject
=
<
T
extends
object
>
(
k
:
PropertyKey
,
o
:
T
)
:
k
is
keyof
T
=
>
k
in
o
;
Reference in New Issue
View Git Blame
Copy Permalink