Skip to content

Commit 0e2d851

Browse files
committed
docs: add isUseCall function documentation and update related references
1 parent 560cc2d commit 0e2d851

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

packages/core/docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
- [isRenderMethodLike](functions/isRenderMethodLike.md)
117117
- [isRenderPropLoose](functions/isRenderPropLoose.md)
118118
- [isThisSetState](functions/isThisSetState.md)
119+
- [isUseCall](functions/isUseCall.md)
119120
- [isUseCallbackCall](functions/isUseCallbackCall.md)
120121
- [isUseContextCall](functions/isUseContextCall.md)
121122
- [isUseDebugValueCall](functions/isUseDebugValueCall.md)

packages/core/docs/functions/isInitializedFromReact.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Function: isInitializedFromReact()
88

9-
> **isInitializedFromReact**(`name`, `source`, `initialScope`): `boolean`
9+
> **isInitializedFromReact**(`name`, `importSource`, `initialScope`): `boolean`
1010
1111
Check if an identifier is initialized from react
1212

@@ -18,7 +18,7 @@ Check if an identifier is initialized from react
1818

1919
The top-level identifier's name
2020

21-
### source
21+
### importSource
2222

2323
`string`
2424

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[**@eslint-react/core**](../README.md)
2+
3+
***
4+
5+
[@eslint-react/core](../README.md) / isUseCall
6+
7+
# Function: isUseCall()
8+
9+
> **isUseCall**(...`a`): `boolean`
10+
11+
## Parameters
12+
13+
### a
14+
15+
...\[[`Readonly`](../-internal-/type-aliases/Readonly.md)\<[`RuleContext`](../-internal-/interfaces/RuleContext.md)\<`string`, readonly `unknown`[]\>\>, [`CallExpression`](../-internal-/interfaces/CallExpression.md)\]
16+
17+
## Returns
18+
19+
`boolean`

0 commit comments

Comments
 (0)