swipedistance: github.com/xoebus/swipedistance Index | Files

package swipedistance

import "github.com/xoebus/swipedistance"


Package Files


func Sum Uses

func Sum(word string) (float64, bool)

Sum returns the swipe distance required to type the word. The result has no units associated with it. Results are not guaranteed to be comparable between different versions of the package. If there is a character in the word which cannot be typed then the second argument will be false.

Package swipedistance imports 2 packages (graph). Updated 2019-10-10. Refresh now. Tools for package owners.