Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Murray (0.18 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 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:43:16 GMT 2024
    - 526 bytes
    - Viewed (0)
  2. misc/wasm/wasm_exec.js

    			const loadSlice = (addr) => {
    				const array = getInt64(addr + 0);
    				const len = getInt64(addr + 8);
    				return new Uint8Array(this._inst.exports.mem.buffer, array, len);
    			}
    
    			const loadSliceOfValues = (addr) => {
    				const array = getInt64(addr + 0);
    				const len = getInt64(addr + 8);
    				const a = new Array(len);
    				for (let i = 0; i < len; i++) {
    					a[i] = loadValue(array + i * 8);
    				}
    				return a;
    			}
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  3. .cm/plugins/filters/byCodeowner/ignore/index.js

    // A simple implementation of make-array
    function makeArray (subject) {
        return Array.isArray(subject)
            ? subject
            : [subject]
    }
    
    const EMPTY = ''
    const SPACE = ' '
    const ESCAPE = '\\'
    const REGEX_TEST_BLANK_LINE = /^\s+$/
    const REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/
    const REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/
    const REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/
    const REGEX_SPLITALL_CRLF = /\r?\n/g
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top