Given a uniform distribution on $[0,1]$, the associated density $f(x)=\mathbb 1_{[0,1]}$ and cdf $F(x)=x$ for $x \in [0,1]$ and $=0$ or $=1$ respectively for $x<0$ or $x>1$.
Often I find sources where it says the inverse of the cdf is $F^{-1}(p)=p$. However, for example for $p=1$ it is not unambiguous, i.e. "$F^{-1}(1)=[1, \infty)$".
Is there a convention on how to interpret the inverse of the cdf when reading that the inverse of a cdf is given by such?