Arity Property

SWI-Prolog SbsSW.SwiPlCs

Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog Arity Property
SwiPlCs interfaceSbsSW.SwiPlCsPlTermArity

Get the arity of the functor if PlTerm is a compound term.

Declaration Syntax
C# Visual Basic Visual C++
public int Arity { get; }
Public ReadOnly Property Arity As Integer
	Get
public:
property int Arity {
	int get ();
}
Remarks

Arity and Name are for compound terms only

Exceptions
Exception Condition
NotSupportedException Is thrown if the term isn't compound

Assembly: SwiPlCs (Module: SwiPlCs) Version: 1.1.60301.0 (1.1.60301.0)