I should mention this up front: this is a question about semantics. It is extremely formal, and a bit pedantic. Most people won't care.
Is det, i.e the determinant function, a single one? Or is it multiple functions, one for each field?
Let $\mbox{Mat}(K)$ denote the set of square matrices over the field $K$ (This is nonstandard notation). Then $\det(x) \in K$ for $x\in \mbox{Mat}(K)$. So we can view $\det$ in this context as a function $\det: \mbox{Mat}(K) \rightarrow K$. If you take this view, then you are forced to acknowledge that 'det' actually refers to infinitely many functions, one for each field $K$, and that which 'det' we are referring to in a particular expression depends entirely on context.
I should note that here, we take the view that a function MUST possess a domain and codomain, that it is IS NOT just a collection of (input, output) pairs with some sort of implicit domain and codomain.
On the other hand, we may view $\det$ as a single function, taking in ANY square matrix, and returning... something. This is fine, but what would the codomain be? It would have to consist of... everything, and that is not a good codomain for a single function object. Ideally, the codomain would be a bit more expressive. However, this, formally, is not a problem.
So, which is it? The former or the latter?
What about define it as a function with following domain and codomain $$ \mathrm{det}: \bigcup_{n=1}^{\infty}\ \bigcup_{K:\ K\ \text{is a field}} M_{n\times n}(K)\to \bigcup_{K:\ K\ \text{is a field}} K $$