Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Input (0.14 sec)

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

     * @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 = [];
        }
        console.log("nullToEmpty: " + 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/computeStatistics/index.js

     * @param {[FileMetadata]} fileMetadatas - gitStream's list of metadata about file changes in the PR including path
     * @returns {[Object]} Returns list of computed summary statistic objects for each platform in the input groupedFiles
     * @example {{ fileOwners | categorize(branch.diff.files_metadata) | changeStatistics(branch.diff.files_metadata) }}
     */
    function computeStatistics(groupedFiles, fileMetadatas) {
        let totalAdditions = 0;
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top