penguin/AstroJS

Javascript framework for my blog

botanjs/src/externs/System.utils.js

raw ยท 561 bytes

/** @constructor */
System.utils = function (){}

/**
 * @param {*} obj
 * @param {string} prop
 * @param {string} type
 */
System.utils.prototype.objGetProp = function(obj, prop, type) {};

/**
 * @param {*} obj
 * @param {function(*): boolean} cond
 * @param {string} prop
 */
System.utils.prototype.objSearch = function(obj, cond, prop) {};

/**
 * @param {*} obj
 * @param {function(*): *} callback
 */
System.utils.prototype.objMap = function(obj, callback) {};

/** @type {function(string): string} */
System.utils.prototype.siteProto = function(path){};