Skip to content

Passing host arrays as JS arrays #228

@Alainx277

Description

@Alainx277

When invoking a JS function and passing a C# array, it is not an actual JS array (Array.isArray returns false).

In my concrete case it prevents me from using array methods like map or filter.
Is there anyway I can pass the host array as a plain JS array or at least get the native array methods to work?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions