Locally constant

Definition (Locally constant)

Let (X,TX)(X,\mathscr{T}_{X}) and (Y,TY)(Y,\mathscr{T}_{Y}) be topological spaces, and let f:XYf:X\to Y be a map. The map ff is locally constant if, for every Connected subset AXA\subset X, fAf\mid A is constant.