isEOL function

bool isEOL(
  1. int x
)

Implementation

bool isEOL(int x) {
  switch (x) {
    case char.LF:
    case char.CR:
    case char.LS:
    case char.PS:
    case char.NULL:
      return true;
    default:
      return false;
  }
}