We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 000f664 commit 2b84b1aCopy full SHA for 2b84b1a
1 file changed
modules/home/services/home.service.js
@@ -14,9 +14,9 @@ import mailer from '../../../lib/helpers/mailer/index.js';
14
import HomeRepository from '../repositories/home.repository.js';
15
16
/**
17
- * @desc Check whether a config value is meaningfully set (non-empty string, not a DEVKIT placeholder).
+ * @desc Check whether a config value is meaningfully set (non-empty, not a DEVKIT placeholder).
18
* @param {*} value - Config value to check
19
- * @returns {boolean} true if value is a non-empty string and not a DEVKIT_NODE_ placeholder
+ * @returns {boolean} true when value is a non-empty string and not a DEVKIT_NODE_ placeholder
20
*/
21
const isSet = (value) => !!(value && typeof value === 'string' && value.trim() !== '' && !value.startsWith('DEVKIT_NODE_'));
22
0 commit comments