A container, not a codec
Most image formats specify how the data is compressed. TIFF does not — it specifies how to describe an image using tags, and leaves nearly everything else open.
A TIFF can be uncompressed, LZW-compressed, ZIP-compressed, PackBits-compressed or even hold JPEG data. It can be RGB, CMYK, greyscale or Lab; 8, 16 or 32 bits per channel; one page or hundreds; with or without alpha; in either byte order.
This is why "is TIFF lossless?" has no single answer. Usually yes, because it is usually uncompressed or LZW — but a JPEG-in-TIFF is not. You have to look at the specific file.