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 BasicVisual C++F#
public int Arity { get; }
Public ReadOnly Property Arity As Integer
	Get
public:
property int Arity {
	int get ();
}
member Arity : int with get
Property Value
Remarks

Arity and Name are for compound terms only

Exceptions
ExceptionCondition
NotSupportedExceptionIs thrown if the term isn't compound

Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60601.0 (1.1.60601.0)