Skip to main content

TermBool

type definition:

type TermBool = Term<PBool> & {

readonly orTerm: TermFn<[PBool], PBool>
readonly or: ( other: Term<PBool> ) => TermBool

readonly andTerm: TermFn<[PBool], PBool>
readonly and: ( other: Term<PBool> ) => TermBool

}

or

or

parameter: other type: Term<PBool>

returns TermBool

equivalent expression:

por.$( term ).$( other )

OR (||) boolean expression

and

and

parameter: other type: Term<PBool>

returns TermBool

equivalent expression:

pand.$( term ).$( other )

AND (&&) boolean expression