Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for nulla (0.16 sec)

  1. .cm/plugins/filters/nullToEmpty/index.js

    /**
     * @module nullToEmpty
     * @description Returns the specified value if non-null, otherwise an empty array.
     * @param {Object} input - The object to investigate
     * @returns Object - The specified value if non-null, otherwise an empty array
     * @example {{ readField('jvm', 'files') | nullToEmpty }}
     */
    function nullToEmpty(input) {
        let output;
        if (input) {
            output = input;
        } else {
            output = [];
        }
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:43:16 GMT 2024
    - 526 bytes
    - Viewed (0)
  2. .cm/plugins/filters/byPlatform/index.js

        [...result.keys()].forEach(platform => {
            console.log("[" + platform + ": [" + result.get(platform).join(", ") + "]]");
        });
        return result;
    }
    
    function getPlatform(file) {
        let result = null; // Default to null in case no platform is found
    
        if (file.startsWith('platforms/')) {
            const parts = file.split('/');
            result = parts[1];
        }
    
        console.log(file + " = " + result);
        return result;
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  3. .cm/plugins/filters/readField/index.js

            } else {
                return result;
            }
        } else {
            console.log("readField: named object with field not found '" + objectName + '.' + fieldName + "'");
            return null;
        }
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. .cm/plugins/filters/byCodeowner/index.js

            });
    
            console.log("byCodeowner: ");
            [...result.keys()].forEach(owner => {
                console.log("[" + owner + ": [" + result.get(owner).join(", ") + "]]");
            });
            return callback(null, result);
        },
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. .cm/plugins/filters/byCodeowner/ignore/index.js

            this._ignoreCase = ignoreCase
            this._allowRelativePaths = allowRelativePaths
            this._initCache()
        }
    
        _initCache () {
            this._ignoreCache = Object.create(null)
            this._testCache = Object.create(null)
        }
    
        _addPattern (pattern) {
            // #32
            if (pattern && pattern[KEY_IGNORE]) {
                this._rules = this._rules.concat(pattern._rules)
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top