Domain of function

For example

Sqrt[x]
Domain Reals, x=>0
Function can return the same

I’m not sure I understand what you mean. Are you looking for the FunctionRange function?

FunctionRange[Sqrt[x], x, y]

y >= 0