Type Conditions
of_type(cls): Check if object is of type
of_type(cls): Check if object is of typeStream.of([1, 3.4, "A", None] \
.filter(of_type(int)) \
.for_each(print) # 1not_of_type(cls: Type): Check if object is not of type
not_of_type(cls: Type): Check if object is not of typeStream.of([1, 3.4, "A", None] \
.filter(not_of_type(int)) \
.for_each(print) # 3.4, "A", Nonenone(): Check if object is None
none(): Check if object is NoneStream.of([1, None, "Hello", None] \
.filter(none()) \
.for_each(print) # None, Nonenot_none(): Check if object is not None
not_none(): Check if object is not Nonetrue(): Check if object is True
true(): Check if object is Truenot_true(): Check if object is not True
not_true(): Check if object is not Truefalse(): Check if object is False
false(): Check if object is Falsenot_false(): Check if object is not False
not_false(): Check if object is not Falselength(x): Check if object has specified length
length(x): Check if object has specified lengthnot_length(x): Check if object does not have specified length
not_length(x): Check if object does not have specified lengthempty(): Check if object is empty
empty(): Check if object is emptynot_empty(): Check if object is not empty
not_empty(): Check if object is not emptyequal(x): Check if object is equal to the specified value
equal(x): Check if object is equal to the specified valuenot_equal(x): Check if object is not equal to the specified value
not_equal(x): Check if object is not equal to the specified valueLast updated