create static method
- @Deprecated('since 300.2.0; Use [BooleanFieldSupplier](BooleanField) instead.')
- 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.
Return Value: A BooleanFieldFunction with a predefined result.