Help Contents / Arithmetic / Arithmetic Predicates / greaterP

greaterP thing1 thing2
greater? thing1 thing2thing1 > thing2 

outputs TRUE if its first input is strictly greater than its second. 

If the args are numbers they are compared by their numerical value. If they are strings they are string-compared. if they are lists or arrays, they are elementwise compared. Otherwise the node pointers are compared. 

Examples: 

	1 > 1		;false  ;-) 
	2 > 1		;true  ;-) 
	"b > "a		;true  ;-) 
	[1 1] > [1 0]		;true  ;-) 


previous: lessP	next: lessEqualP
