-- ROBLOX deviation: excluded type annotation for AsymmetricMatcher because Luau does
-- not yet support type annotations for a generic function


function isAsymmetricMatcher(data: any)
	local type_ = getType(data)
	return type_ == "table" and typeof(data.asymmetricMatch) == "function"
end

local function diff(
	a: any,
	b: any,
	options -- ROBLOX deviation: omitted type annotation since we don't have DiffOptions translated
): string | nil
	return shouldPrintDiff(a, b) and diffDefault(a, b, options) or nil
end

function pluralize(word: string, count: number): string
	if count == 1 then
		return (NUMBERS[count + 1] or count) .. " " .. word
	else
		return (NUMBERS[count + 1] or count) .. " " .. word .. "s"
	end
end
