Page MenuHomeWickedGov Phorge

UtilMixin.js
No OneTemporary

Size
349 B
Referenced Files
None
Subscribers
None

UtilMixin.js

/**
* Simple mixin to allow all widgets to use `apiBool`
*
* @class
* @private
* @constructor
*/
function UtilMixin() {
// Nothing
}
/**
* Test an API boolean
*
* @param {any} value
* @return {boolean}
*/
UtilMixin.prototype.apiBool = function ( value ) {
return value !== undefined && value !== false;
};
module.exports = UtilMixin;

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 3, 18:51 (1 d, 16 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fb/1f/5bd295ec02755b423df8bc318ded
Default Alt Text
UtilMixin.js (349 B)

Event Timeline