I may be slow to respond.
Web developer, tea drinker && loves coding ‹〴›
- Hyderabad
-
15:17
(UTC -12:00) - www.amalu-sajeev-me.com
- @amalu_sajeev
- in/amalu-sajeev-me
- amalu.sajeev.me
Highlights
Pinned Loading
-
Utility methods in Typescript
Utility methods in Typescript 1export const isPropAvailable = <T extends object>(
2inputObject: T,
3prop: string
4): null | T[keyof T] => {
5if (typeof inputObject !== "object") return null;
-
-
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.