Near metric properties of function spaces