cf.FieldList.match

FieldList.match(*args, **kwargs)[source]

Test whether or not each field satisfies the given conditions.

fl.match(*args, **kwargs) is equivalent to cf.List(f.match(*args, **kwargs) for f in fl).

See cf.Field.match for details.

Parameters :
args, kwargs : optional

See cf.Field.match.

Returns :
out : cf.List of bools

For each field, True if it satisfies the given criteria, False otherwise.

Previous topic

cf.FieldList.iter

Next topic

cf.FieldList.method

This Page