A boolean is a primitive which returns the word “true or the word “false. These primitives terminate in a
question-mark.
Returns "true.
Returns "false.
Returns true if arg1 is a word, false otherwise.
Returns true if arg1 is a number, false otherwise.
returns true if arg1 is a whole number, false otherwise.
Returns true if arg1 is a list, false otherwise.
Returns true if arg1 is an empty word or an empty list, false otherwise.
Returns true if arg1 and arg2 are equal, false otherwise.
Returns true if word1 is before word2 in terms of alphabetical order, false otherwise.
- If arg2 is a list, specifies if word1 is an element of arg2.
- If arg2 is a word, specifies if word1 is a letter in arg2.
- If arg2 is a list, look for the element word1 in this list. There are two possible outcomes:
- If word1 is in arg2, returns a sublist containing all list elements from the first instance of word1
in arg2.
- If word1 is not in arg2, returns the word false.
- If arg2 is a word, look for the character word1 in this word. There are two possibilities:
- If word1 is in arg2, returns the latter part of the word, starting from word1.
- Otherwise, return the word false.
member “o “cocoa return ocoa
member 3 [1 2 3 4] returns [3 4]
Returns the word true is the pen is down, false otherwise.
Returns the word true if the turtle is visible, false otherwise.
Returns true if the word is an XLOGOprimitive, false otherwise.
Returns true if the word is a procedure defined by the user, false otherwise.
Return true if :a is a variable, false otherwise.