isSingleCodePoint function

bool isSingleCodePoint(
  1. String s
)

Implementation

bool isSingleCodePoint(String s) => codePoints(s).length == 1;