Check if the given-edge type does not include the given type.
As types are bitmasks, you can combine multiple types with a bitwise OR (|).
Counterpart of DfEdge#includesType.
Check if the given-edge type has any of the given types.
As types are bitmasks, you can combine multiple types with a bitwise OR (|).
edgeIncludesType({ types: EdgeType.Reads }, EdgeType.Reads | EdgeType.DefinedBy) // true
Counterpart of DfEdge#doesNotIncludeType.
Takes joint edge types and splits them into their individual components.
Takes joint edge types and returns their human-readable names.
Only use this function to retrieve a human-readable name if you know that it is a single bitmask. Otherwise, use DfEdge#typesToNames which handles these cases.
Helper Functions to work with DfEdge and EdgeType.