Move the nullFunction to ol/functions
And rename it to `UNDEFINED`.
This commit is contained in:
@@ -17,3 +17,10 @@ export function TRUE() {
|
||||
export function FALSE() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* A reusable function, used e.g. as a default for callbacks.
|
||||
*
|
||||
* @return {undefined} Nothing.
|
||||
*/
|
||||
export function UNDEFINED() {}
|
||||
|
||||
Reference in New Issue
Block a user