Skip to content

Feature/arrayisarray#970

Merged
Perryvw merged 4 commits intomasterfrom
feature/arrayisarray
Jan 26, 2021
Merged

Feature/arrayisarray#970
Perryvw merged 4 commits intomasterfrom
feature/arrayisarray

Conversation

@Perryvw
Copy link
Member

@Perryvw Perryvw commented Jan 25, 2021

Formalize and expose Array.isArray convention as discussed in #737.

Also includes a small fix for a missing lualib dependency for string.split.

Fixes #738

@lolleko
Copy link
Member

lolleko commented Jan 26, 2021

Maybe replace the pcall in array.concat as well

if (pcall(() => (arg as any[]).length) && type(arg) !== "string") {

This could potentially fix #738

@Perryvw Perryvw merged commit 39c7420 into master Jan 26, 2021
@Perryvw Perryvw deleted the feature/arrayisarray branch January 26, 2021 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Array.concat does not work correctly when objects are passed as parameter.

2 participants