27 lines
369 B
JavaScript
27 lines
369 B
JavaScript
/**
|
|
* @module ol/functions
|
|
*/
|
|
|
|
/**
|
|
* Always returns true.
|
|
* @returns {boolean} true.
|
|
*/
|
|
export function TRUE() {
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* Always returns false.
|
|
* @returns {boolean} false.
|
|
*/
|
|
export function FALSE() {
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* A reusable function, used e.g. as a default for callbacks.
|
|
*
|
|
* @return {void} Nothing.
|
|
*/
|
|
export function VOID() {}
|