Skip to content

Shared values with arrays are not recognised by JS Array.isArray() as valid arrays #158

@chrfalch

Description

@chrfalch
const sharedArray = Worklets.createSharedValue([0, 1, 2, 3]);
const isArray = Array.isArray(sharedArray.value); // <- returns false

We should fix so that this is working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions