imports/vx/client/code/ux.js
/**
     * Trim the specified value and convert to null if no characters are present.
     *
     * @param {string} input Input value.
     * @return {string} Trimmed value or null.
     */
Trim the specified value and convert to null if no characters are present.
@param {string} input Input value.
@return {string} Trimmed value or null.
Trim the specified value and convert to null if no characters are present . @param { string } input Input value . @return { string } Trimmed value or null .
trim(input) {
        if (!input) {
            return
        }
        input = input.trim()
        return input.length > 0 ? input : null
    }
trim ( input ) { if ( ! input ) { return } input = input . trim ( ) return input . length > 0 ? input : null }
Trim the specified value and convert to null if no characters are present.
Trim the specified value and convert to null if no characters are present .