BooleanFieldFunction.create constructor
- BooleanField result
Creates a BooleanFieldFunction with a predefined result.
Enables a BooleanField to be used in contexts that expect a BooleanFieldFunction by setting the result of the function explicitly.
BooleanFieldFunction.evaluate returns the given result.
Parameters:
result— The predefined function result.