local ____lualib = require("lualib_bundle")
local __TS__ArrayEvery = ____lualib.__TS__ArrayEvery
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
local __TS__ArrayFind = ____lualib.__TS__ArrayFind
local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
local __TS__ArrayJoin = ____lualib.__TS__ArrayJoin
local __TS__ArrayMap = ____lualib.__TS__ArrayMap
local __TS__ArraySome = ____lualib.__TS__ArraySome
local ____exports = {}
--- Helper function for non-TypeScript users to check if every element in the array is equal to a
-- condition.
-- 
-- Internally, this just calls `Array.every`.
function ____exports.every(self, array, func)
    return __TS__ArrayEvery(array, func)
end
--- Helper function for non-TypeScript users to filter the elements in an array. Returns the filtered
-- array.
-- 
-- Internally, this just calls `Array.filter`.
function ____exports.filter(self, array, func)
    return __TS__ArrayFilter(array, func)
end
--- Helper function for non-TypeScript users to find an element in an array.
-- 
-- Internally, this just calls `Array.find`.
function ____exports.find(self, array, func)
    return __TS__ArrayFind(array, func)
end
--- Helper function for non-TypeScript users to iterate over an array.
-- 
-- Internally, this just calls `Array.forEach`.
function ____exports.forEach(self, array, func)
    __TS__ArrayForEach(array, func)
end
--- Helper function for non-TypeScript users to convert an array to a string with the specified
-- separator.
-- 
-- Internally, this just calls `Array.join`.
function ____exports.join(self, array, separator)
    return __TS__ArrayJoin(array, separator)
end
--- Helper function for non-TypeScript users to convert all of the elements in an array to something
-- else.
-- 
-- Internally, this just calls `Array.map`.
function ____exports.map(self, array, func)
    return __TS__ArrayMap(array, func)
end
--- Helper function for non-TypeScript users to check if one or more elements in the array is equal
-- to a condition.
-- 
-- Internally, this just calls `Array.some`.
function ____exports.some(self, array, func)
    return __TS__ArraySome(array, func)
end
return ____exports
