Port.isA

bool isA(Node portClass) @nogc nothrow

Determine if a port is of a given class (input, output, audio, etc).

For convenience/performance/extensibility reasons, hosts are expected to create a LilvNode for each port class they “care about”. Well-known type URI strings like LILV_URI_INPUT_PORT are defined for convenience, but this function is designed so that Lilv is usable with any port types without requiring explicit support in Lilv.

Returns

true if port is a portClass