has_class


Description:

public bool has_class (uint line, string name)

Checks to see if [method@GutterLines.

add_class] was called with the name for line.

A faster version of this function is provided via [[email protected]_qclass] for situations where the quark is known ahead of time.

Parameters:

this

a GutterLines

line

a line number starting from zero

name

a class name that may be converted, to a Quark

Returns:

true if line contains name




2022 vala-language.org