--[[
	Replaces the need to chain FindFirstChild. Starting at baseInstance, will navigate through tuple string arguments until there is no child to be found. 
]]

function DataModelUtils.findFirstDescendant(baseInstance, ...)
	local returningChild = baseInstance
	for _, childName in ipairs({...}) do
		local nextChild = returningChild:FindFirstChild(childName)

		if not nextChild then
			return
		else
			returningChild = nextChild
		end
	end

	return returningChild
end
