Predicate

data class Predicate(val predicate: ToolPredicate) : ToolFilter

Selects the tools accepted by predicate.

Constructors

Link copied to clipboard
constructor(predicate: ToolPredicate)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun ToolFilter?.isToolSelected(tool: BaseTool, readonlyContext: ReadonlyContext? = null): Boolean

Returns whether tool is selected by this filter under readonlyContext.