mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 23:46:03 +01:00
fix(array): Array.from string delimiter
This commit is contained in:
@@ -37,7 +37,7 @@ function lib.array:from(iter)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if iterType == 'string' then
|
if iterType == 'string' then
|
||||||
return lib.array:new(string.strsplit('delimiter', iter))
|
return lib.array:new(string.strsplit('', iter))
|
||||||
end
|
end
|
||||||
|
|
||||||
if iterType == 'function' then
|
if iterType == 'function' then
|
||||||
|
|||||||
Reference in New Issue
Block a user