Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for otherwise (0.18 sec)

  1. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.native.js

      return !str;
    };
    
    
    /**
     * @param {?string} str
     * @return {string} Original str, if it is non-null. Otherwise empty string.
     */
    Platform.nullToEmpty = function(str) {
      return str || "";
    };
    
    
    /**
     * @param {?string} str
     * @return {string} Original str, if it is non-empty. Otherwise null;
     */
    Platform.emptyToNull = function(str) {
      return str || null;
    JavaScript
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 25 14:03:03 GMT 2020
    - 527 bytes
    - Viewed (0)
  2. .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)
  3. .cm/plugins/filters/isEnabledUser/index.js

     * @param {string} Input - The GitHub username to check.
     * @returns {boolean} Returns true if the user is specified in any of the lists of Gradle BT team members above, otherwise false.
     * @example {{ pr.author | isEnabledUser }}
     */
    function isEnabledUser(username) {
    JavaScript
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Feb 05 22:00:34 GMT 2024
    - 923 bytes
    - Viewed (0)
  4. .cm/plugins/filters/byCodeowner/ignore/index.js

                    // > level of the particular .gitignore file itself.
                    // > Otherwise the pattern may also match at any level below
                    // > the .gitignore level.
                    ? '(?:^|\\/)'
    
                    // > Otherwise, Git treats the pattern as a shell glob suitable for
                    // >   consumption by fnmatch(3)
                    : '^'
            }
    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)
  5. docs/en/docs/js/termynal.js

            this.loadLines()
            if (!options.noInit) this.init()
        }
    
        loadLines() {
            // Load all the lines and create the container so that the size is fixed
            // Otherwise it would be changing and the user viewport would be constantly
            // moving as she/he scrolls
            const finish = this.generateFinish()
            finish.style.visibility = 'hidden'
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  6. .cm/plugins/filters/isEnabledAutomation/index.js

     * @param {Map} pr - The gitStream PR instance to check (includes metadata related to the pull request).
     * @returns {boolean} Returns true if the outlined conditions are met, otherwise false.
     * @example {{ 'platform_labels' | isEnabledAutomation(pr) }}
     */
    function isEnabledAutomation(automationName, pr) {
        let result;
        const automationActivations = enabled.get(automationName) || [];
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top