isKeyword static method

bool isKeyword(
  1. String text
)

Checks if the given text is a MiniScript keyword

Implementation

static bool isKeyword(String text) {
  return all.contains(text);
}