Skip to content

Commit 912bdce

Browse files
committed
Add JSDoc @returns tag for isRunningInReactNative
1 parent f7fa960 commit 912bdce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/useIsomorphicLayoutEffect.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ const isDOM = /* @__PURE__ */ canUseDOM()
2424
/**
2525
* Checks if the code is running in a React Native environment.
2626
*
27+
* @returns Whether the code is running in a React Native environment.
28+
*
2729
* @see {@link https://github.com/facebook/react-native/issues/1331 Reference}
2830
*/
2931
const isRunningInReactNative = () =>

0 commit comments

Comments
 (0)