empty

A Python module used for interacting with collections of objects using LINQ syntax


empty

empty()

Returns an empty Enumerable

Parameters

Returns

An Enumerable object that contains no elements

Example


from py_linq import Enumerable

test = Enumerable([1, 2, 3]).empty()
print test
# []