MongooseWhere programmers kick back and build silly things together.

All help topics · Link to this topic

Showing help on 'distance()'

Syntax: distance(LIST from, LIST to) => FLOAT

Returns the Euclidean distance between two coordinate lists. Each element must be an integer or floating-point number; otherwise E_TYPE is raised.