--[[
	
	Returns true if value exists in array.
	
	Functions.SearchArray(
		array,					<-- |REQ| 	Array to search through
		search,					<-- |REQ| 	Search value
	)
	
--]]




return function(array, search)
	if not array then
		return
	end
	--- Scan array
	for _, value in ipairs(array) do
		if value == search then
			--- Matching value!
			return true
		end
	end

	--- No matching value
	return false
end
