soundsLike static method

bool soundsLike(
  1. String a,
  2. String b
)

Returns true if a and b have the same Soundex code.

Implementation

static bool soundsLike(String a, String b) => encode(a) == encode(b);