isValid static method
- String edgeType
Checks if a string is a valid edge type.
Applies the same ^[A-Z][A-Z0-9_]{0,49}$ rule as validateEdgeType and
isValidEdgeType, and as every other Kumiho SDK — membership in values
is not required. This previously tested values membership, so it
rejected well-formed types the server accepts, SUPPORTS, PRODUCED_BY
and MIGRATED_FROM among them.
Implementation
static bool isValid(String edgeType) => isValidEdgeType(edgeType);