bcompareEQ

 

 

Description

The bcompareEQ is a fast comparison function that assume that its operands are Boolean values. The resulting value is a Boolean value of true or false. The operands are not checked and are not coerced.

When to use

Use the bcompareEQ function when you wish to compare two booleans and determine if they are equal and you wish the result to be expressed as a Boolean value (true or false). These functions only operate on Boolean operands. For a more general, but slower, comparison, use the compareEQ, compareNE, compareGT, compareGE, compareLT, and compareLE which performs type checking and type conversions.

 

Syntax

(bcompareEQ bool1 bool2)


Name Description AIS Types
bool1 First boolean to be compared.Boolean
bool2Second boolean to be comparedBoolean


Returns:

Returns true if the comparison is true, false if the comparison is false

 

Examples

Here are a number of links to Lambda coding examples which contain this instruction in various use cases.

Example_Boolean_bcompareEQ_001

These examples use the bcompareEQ function to compare two objects and return the Boolean value, true or false.

 

Argument Types

Here are the links to the data types of the function arguments.

Boolean

Here are also a number of links to functions having arguments with any of these data types.

abortTransaction(ObjectRepository) addMethod(BitVector) addMethod(Boolean) addMethod(Brick)
addMethod(Character) addMethod(CpxVector) addMethod(Date) addMethod(Dictionary)
addMethod(Directory) addMethod(FltVector) addMethod(Function) addMethod(IntVector)
addMethod(List) addMethod(Matrix) addMethod(NumMatrix) addMethod(NumVector)
addMethod(Number) addMethod(ObjVector) addMethod(ObjectRepository) addMethod(Pair)
addMethod(PcodeVector) addMethod(ShortVector) addMethod(String) addMethod(Structure)
addMethod(Symbol) addMethod(Vector) addMethod(Void) badd(Boolean)
bcompareEQ(Boolean) bcompareGE(Boolean) bcompareGT(Boolean) bcompareLE(Boolean)
bcompareLT(Boolean) bcompareNE(Boolean) bdiv(Boolean) beginTransaction(ObjectRepository)
binaryInsert(CpxVector) binaryInsert(FltVector) binaryInsert(IntVector) binaryInsert(Matrix)
binaryInsert(NumMatrix) binaryInsert(NumVector) binaryInsert(ShortVector) binaryInsert(Structure)
binaryInsert(Vector) binaryNand(Integer) binaryNor(Integer) binaryNot(Integer)
binaryNxor(Integer) binarySearch(CpxVector) binarySearch(Dictionary) binarySearch(FltVector)
binarySearch(IntVector) binarySearch(Matrix) binarySearch(NumMatrix) binarySearch(NumVector)
binarySearch(ObjVector) binarySearch(ShortVector) binarySearch(Structure) binarySearch(Vector)
bitwiseAnd(Integer) bitwiseNand(Integer) bitwiseNor(Integer) bitwiseNot(Integer)
bitwiseNxor(Integer) bitwiseOr(Integer) bitwiseShiftLeft(Integer) bitwiseShiftRight(Integer)
bitwiseXor(Integer) bmod(Boolean) bmul(Boolean) boolean(Boolean)
ccompareEQ(Character) ccompareGE(Character) ccompareGT(Character) ccompareLE(Character)
ccompareLT(Character) ccompareNE(Character) character(Character) checkPointTransaction(ObjectRepository)
clear(Context) clear(ObjectRepository) commitTransaction(ObjectRepository) compareEQ(BitVector)
compareEQ(Boolean) compareEQ(Brick) compareEQ(Character) compareEQ(Complex)
compareEQ(CpxVector) compareEQ(Date) compareEQ(Dictionary) compareEQ(Directory)
compareEQ(FltVector) compareEQ(Function) compareEQ(IntVector) compareEQ(Lambda)
compareEQ(List) compareEQ(Matrix) compareEQ(NumMatrix) compareEQ(NumVector)
compareEQ(Number) compareEQ(ObjVector) compareEQ(ObjectRepository) compareEQ(Pair)
compareEQ(ShortVector) compareEQ(String) compareEQ(Structure) compareEQ(Symbol)
compareEQ(Vector) compareEQ(Void) compareGE(BitVector) compareGE(Boolean)
compareGE(Brick) compareGE(Character) compareGE(Complex) compareGE(CpxVector)
compareGE(Date) compareGE(Dictionary) compareGE(Directory) compareGE(Function)
compareGE(IntVector) compareGE(Lambda) compareGE(List) compareGE(Matrix)
compareGE(NumMatrix) compareGE(Number) compareGE(ObjVector) compareGE(ObjectRepository)
compareGE(Pair) compareGE(ShortVector) compareGE(String) compareGE(Structure)
compareGE(Symbol) compareGE(Vector) compareGE(Void) compareGT(BitVector)
compareGT(Boolean) compareGT(Brick) compareGT(Character) compareGT(Complex)
compareGT(CpxVector) compareGT(Date) compareGT(Dictionary) compareGT(Directory)
compareGT(Function) compareGT(IntVector) compareGT(Lambda) compareGT(List)
compareGT(Matrix) compareGT(NumMatrix) compareGT(NumVector) compareGT(Number)
compareGT(ObjVector) compareGT(ObjectRepository) compareGT(Pair) compareGT(ShortVector)
compareGT(String) compareGT(Structure) compareGT(Symbol) compareGT(Vector)
compareGT(Void) compareLE(BitVector) compareLE(Boolean) compareLE(Brick)
compareLE(Character) compareLE(Complex) compareLE(CpxVector) compareLE(Date)
compareLE(Dictionary) compareLE(Directory) compareLE(FltVector) compareLE(Function)
compareLE(IntVector) compareLE(Lambda) compareLE(List) compareLE(Matrix)
compareLE(NumMatrix) compareLE(NumVector) compareLE(Number) compareLE(ObjVector)
compareLE(ObjectRepository) compareLE(Pair) compareLE(ShortVector) compareLE(String)
compareLE(Structure) compareLE(Symbol) compareLE(Vector) compareLE(Void)
compareLT(BitVector) compareLT(Boolean) compareLT(Brick) compareLT(Character)
compareLT(Complex) compareLT(CpxVector) compareLT(Date) compareLT(Dictionary)
compareLT(Directory) compareLT(FltVector) compareLT(Function) compareLT(IntVector)
compareLT(Lambda) compareLT(List) compareLT(Matrix) compareLT(NumMatrix)
compareLT(NumVector) compareLT(Number) compareLT(ObjVector) compareLT(ObjectRepository)
compareLT(Pair) compareLT(ShortVector) compareLT(String) compareLT(Structure)
compareLT(Symbol) compareLT(Vector) compareLT(Void) compareNE(BitVector)
compareNE(Boolean) compareNE(Brick) compareNE(Character) compareNE(Complex)
compareNE(CpxVector) compareNE(Date) compareNE(Dictionary) compareNE(Directory)
compareNE(FltVector) compareNE(Function) compareNE(IntVector) compareNE(Lambda)
compareNE(List) compareNE(Matrix) compareNE(NumMatrix) compareNE(NumVector)
compareNE(Number) compareNE(ObjVector) compareNE(ObjectRepository) compareNE(Pair)
compareNE(ShortVector) compareNE(String) compareNE(Structure) compareNE(Symbol)
compareNE(Vector) compareNE(Void) compare(BitVector) compare(Boolean)
compare(Brick) compare(Character) compare(Complex) compare(CpxVector)
compare(Date) compare(Dictionary) compare(Directory) compare(FltVector)
compare(Function) compare(IntVector) compare(Lambda) compare(List)
compare(Matrix) compare(NumMatrix) compare(NumVector) compare(Number)
compare(ObjVector) compare(ObjectRepository) compare(Pair) compare(ShortVector)
compare(String) compare(Structure) compare(Symbol) compare(Vector)
compare(Void) comparison(BitVector) comparison(Boolean) comparison(Brick)
comparison(Character) comparison(Complex) comparison(Date) comparison(Dictionary)
comparison(Directory) comparison(FltVector) comparison(Function) comparison(IntVector)
comparison(List) comparison(Matrix) comparison(NumMatrix) comparison(NumVector)
comparison(Number) comparison(ObjVector) comparison(ObjectRepository) comparison(Pair)
comparison(ShortVector) comparison(String) comparison(Structure) comparison(Symbol)
comparison(Vector) comparison(Void) compile(Lambda) compile(List)
cons(Pair) debug(Context) debug(Lambda) disassemble(Context)
disassemble(Lambda) display(ByteVector) display(FileIO) exportTab(Lambda)
exportTab(ObjectRepository) fdisplay(ByteVector) fdisplay(Text) fileClose(ByteVector)
fileClose(Text) fileDisplay(ByteVector) fileDisplay(Text) fileErase(ByteVector)
fileErase(Text) fileOpen(ByteVector) fileOpen(Text) fileRead(ByteVector)
fileRead(Text) fileWrite(ByteVector) fileWrite(String) fileWrite(Text)
filewriteln(ByteVector) filewriteln(String) filewriteln(Text) findBlock(BitVector)
gc(Context) icompareEQ(Integer) icompareGE(Integer) icompareGT(Integer)
icompareLE(Integer) icompareLT(Integer) icompareNE(Integer) importTab(Lambda)
importTab(ObjectRepository) inside(BitVector) inside(Dictionary) inside(Directory)
inside(IntVector) inside(List) inside(Matrix) inside(NumMatrix)
inside(NumVector) inside(ShortVector) inside(Structure) inside(Vector)
inspect(Context) inspect(Lambda) inspect(ObjectRepository) integer(Integer)
isAtom(BitVector) isAtom(Brick) isAtom(Dictionary) isAtom(Directory)
isAtom(FltVector) isAtom(IntVector) isAtom(List) isAtom(Matrix)
isAtom(NumMatrix) isAtom(NumVector) isAtom(ObjVector) isAtom(Pair)
isAtom(PcodeVector) isAtom(ShortVector) isAtom(Structure) isAtom(Vector)
isBitVector(BitVector) isBoolean(Boolean) isBound(Dictionary) isBound(Directory)
isBound(Structure) isByteVector(ByteVector) isCharAlphabetic(ByteVector) isCharAlphabetic(String)
isCharAlphabetic(Symbol) isCharAlphanumeric(ByteVector) isCharAlphanumeric(String) isCharAlphanumeric(Symbol)
isCharLowercase(ByteVector) isCharLowercase(String) isCharLowercase(Symbol) isCharName(ByteVector)
isCharName(String) isCharName(Symbol) isCharNumeric(ByteVector) isCharNumeric(String)
isCharNumeric(Symbol) isCharUppercase(ByteVector) isCharUppercase(String) isCharUppercase(Symbol)
isCharWhitespace(ByteVector) isCharWhitespace(String) isCharWhitespace(Symbol) isCharacter(Character)
isComplex(Complex) isDate(Date) isDirectory(Directory) isEqual(BitVector)
isEqual(Boolean) isEqual(Brick) isEqual(Character) isEqual(Complex)
isEqual(Date) isEqual(Dictionary) isEqual(Directory) isEqual(FltVector)
isEqual(Function) isEqual(IntVector) isEqual(List) isEqual(Matrix)
isEqual(NumMatrix) isEqual(NumVector) isEqual(Number) isEqual(ObjVector)
isEqual(Pair) isEqual(ShortVector) isEqual(String) isEqual(Structure)
isEqual(Vector) isEqual(Void) isError(Error) isEven(Number)
isExact(Number) isFloatVector(FltVector) isIdentical(BitVector) isIdentical(Boolean)
isIdentical(Brick) isIdentical(Character) isIdentical(Complex) isIdentical(Date)
isIdentical(Dictionary) isIdentical(Directory) isIdentical(Error) isIdentical(FltVector)
isIdentical(Function) isIdentical(IntVector) isIdentical(List) isIdentical(Matrix)
isIdentical(NumMatrix) isIdentical(NumVector) isIdentical(Number) isIdentical(ObjVector)
isIdentical(ObjectRepository) isIdentical(Pair) isIdentical(PcodeVector) isIdentical(ShortVector)
isIdentical(Structure) isIdentical(Vector) isIdentical(Void) isImmediate(ObjectRepository)
isInexact(Number) isInside(BitVector) isInside(Dictionary) isInside(Directory)
isInside(IntVector) isInside(List) isInside(Matrix) isInside(NumMatrix)
isInside(NumVector) isInside(ObjVector) isInside(Pair) isInside(ShortVector)
isInside(Structure) isInside(Vector) isIntegerVector(IntVector) isInteger(Integer)
isMatrix(Matrix) isMember(BitVector) isMember(Dictionary) isMember(Directory)
isMember(IntVector) isMember(List) isMember(Matrix) isMember(NumMatrix)
isMember(NumVector) isMember(ObjVector) isMember(Pair) isMember(ShortVector)
isMember(Structure) isMember(Vector) isMoney(Number) isNegative(Number)
isNull(Number) isNull(Void) isNumberMatrix(NumMatrix) isNumberVector(NumVector)
isNumber(Number) isObjectVector(ObjVector) isObject(BitVector) isObject(Brick)
isObject(ByteVector) isObject(Dictionary) isObject(Directory) isObject(FltVector)
isObject(IntVector) isObject(List) isObject(Matrix) isObject(NumMatrix)
isObject(NumVector) isObject(ObjVector) isObject(Pair) isObject(PcodeVector)
isObject(ShortVector) isObject(String) isObject(Structure) isObject(Symbol)
isObject(Vector) isOdd(Number) isPair(List) isPair(Pair)
isPcodeVector(PcodeVector) isPositive(Number) isTransaction(ObjectRepository) isType(BitVector)
isType(Boolean) isType(Brick) isType(Character) isType(Complex)
isType(Date) isType(Dictionary) isType(Directory) isType(FltVector)
isType(Function) isType(IntVector) isType(Matrix) isType(NumMatrix)
isType(NumVector) isType(Number) isType(ObjVector) isType(ObjectRepository)
isType(Pair) isType(ShortVector) isType(String) isType(Structure)
isType(Symbol) isType(Vector) isType(Void) isVector(Vector)
isZero(Number) length(BitVector) length(Brick) length(Dictionary)
length(Directory) length(FltVector) length(IntVector) length(List)
length(Matrix) length(NumMatrix) length(NumVector) length(ObjVector)
length(ObjectRepository) length(Pair) length(PcodeVector) length(ShortVector)
length(String) length(Structure) length(Symbol) length(Vector)
lisp(Lambda) lisp(List) list(List) loadWorkspace(Context)
macroReplace(String) makeQuotedList(List) member(BitVector) member(Dictionary)
member(Directory) member(IntVector) member(List) member(Matrix)
member(NumMatrix) member(NumVector) member(ObjVector) member(ShortVector)
member(Structure) member(Vector) money(Number) morph(List)
ncompareEQ(Number) ncompareGE(Number) ncompareGT(Number) ncompareLE(Number)
ncompareLT(Number) ncompareNE(Number) new(BitVector) new(Brick)
new(ByteVector) new(CpxVector) new(Dictionary) new(Directory)
new(FltVector) new(IntVector) new(Lambda) new(Matrix)
new(NumMatrix) new(NumVector) new(ObjVector) new(ObjectRepository)
new(PcodeVector) new(ShortVector) new(String) new(Structure)
new(Symbol) new(Vector) number(Number) onError(Error)
onError(Lambda) pair(Pair) ref(BitVector) ref(Boolean)
ref(Brick) ref(Character) ref(Complex) ref(Date)
ref(Dictionary) ref(Directory) ref(FltVector) ref(Function)
ref(IntVector) ref(Lambda) ref(List) ref(Matrix)
ref(NumMatrix) ref(NumVector) ref(Number) ref(ObjVector)
ref(ObjectRepository) ref(PcodeVector) ref(ShortVector) ref(String)
ref(Structure) ref(Symbol) ref(Vector) ref(Void)
remove(BitVector) remove(Dictionary) remove(Directory) remove(IntVector)
remove(Matrix) remove(NumMatrix) remove(NumVector) remove(ObjVector)
remove(ShortVector) remove(Structure) remove(Vector) rename(ObjectRepository)
reset(Context) saveObject(ByteVector) saveObject(Integer) saveWorkspace(Context)
setBlock(BitVector) setCar(List) setCar(Pair) set(ObjectRepository)
setf(ObjectRepository) setq(BitVector) setq(Boolean) setq(Brick)
setq(Character) setq(Date) setq(Dictionary) setq(Directory)
setq(FltVector) setq(IntVector) setq(Lambda) setq(List)
setq(Matrix) setq(NumVector) setq(Number) setq(ObjVector)
setq(ObjectRepository) setq(PcodeVector) setq(ShortVector) setq(String)
setq(Structure) setq(Symbol) setq(Vector) setq(Void)
sizeof(BitVector) sizeof(Boolean) sizeof(Brick) sizeof(ByteVector)
sizeof(Character) sizeof(Complex) sizeof(Date) sizeof(Dictionary)
sizeof(Directory) sizeof(FltVector) sizeof(Function) sizeof(IntVector)
sizeof(List) sizeof(Matrix) sizeof(NumMatrix) sizeof(NumVector)
sizeof(Number) sizeof(ObjVector) sizeof(ObjectRepository) sizeof(Pair)
sizeof(PcodeVector) sizeof(ShortVector) sizeof(String) sizeof(Structure)
sizeof(Symbol) sizeof(Vector) sizeof(Void) sort(BitVector)
sort(Dictionary) sort(Directory) sort(FltVector) sort(IntVector)
sort(List) sort(Matrix) sort(NumMatrix) sort(NumVector)
sort(ObjVector) sort(ShortVector) sort(Structure) sort(Vector)
stringCiEQ(String) stringCiGE(String) stringCiGT(String) stringCiLE(String)
stringCiLT(String) stringCiNE(String) subscribe(Context) substringCiEQ(String)
substringCiGE(String) substringCiGT(String) substringCiLE(String) substringCiLT(String)
substringCiNE(String) substringEQ(String) substringGE(String) substringGT(String)
substringLE(String) substringLT(String) substringNE(String) systemCheck(Context)
vectorFill(BitVector) vectorFill(FltVector) vectorFill(IntVector) vectorFill(Matrix)
vectorFill(NumMatrix) vectorFill(NumVector) vectorFill(ObjVector) vectorFill(ShortVector)
vectorFill(Vector) version(Context) writeln(ByteVector) writeln(String)
writeln(Text)

How do I contact the AIS team?

You can always talk with the AIS at aiserver.sourceforge.net.