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

C# | Visual Basic | Visual C++ | F# |
public int Arity { get; }
Public ReadOnly Property Arity As Integer Get
public: property int Arity { int get (); }
member Arity : int with get


Arity and Name are for compound terms only

Exception | Condition |
---|---|
NotSupportedException | Is thrown if the term isn't compound |
Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60601.0 (1.1.60601.0)