Python‎ > ‎frozenset‎ > ‎

frozenset.isdisjoint()

http://www.adilwaseem.com/

Introduction
Return True if two sets have a null intersection.

Syntax
frozenset.isdisjoint(iterable)

Parameters
iterable

Example
The method returns the bool result about sets. 
x=frozenset({1,3,4,5})
y=frozenset({3,4,6})
z=frozenset.isdisjoint(x,y)
print(z)

>>> 
False
>>>

Comments