isClose method

  1. @override
bool isClose(
  1. String a,
  2. String b,
  3. double epsilon
)
override

Returns true, if a and b are within range of epsilon.

Implementation

@override
bool isClose(String a, String b, double epsilon) =>
    editDistance(a, b) < epsilon.ceil();