Skip to content

Fix JSI isArray method to match JS Array.isArray - #53998

Closed
tsaichien wants to merge 1 commit into
react:mainfrom
tsaichien:export-D83391784
Closed

Fix JSI isArray method to match JS Array.isArray#53998
tsaichien wants to merge 1 commit into
react:mainfrom
tsaichien:export-D83391784

Conversation

@tsaichien

Copy link
Copy Markdown
Contributor

Summary:
As the previous few diffs, JSI isArray API should follow
Array.isArray from the JS spec.

The current implementation does not consider Proxy objects, only Array
exotic objects.

Differential Revision: D83391784

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 30, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@tsaichien has exported this pull request. If you are a Meta employee, you can view the originating Diff in D83391784.

Summary:

As the previous few diffs, JSI `isArray` API should follow
`Array.isArray` from the JS spec.

The current implementation does not consider Proxy objects, only Array
exotic objects.

Reviewed By: lavenzg

Differential Revision: D83391784
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Oct 1, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 6031905.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @tsaichien in 6031905

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants