Skip to content

Commit 2b84b1a

Browse files
docs(home): clarify isSet JSDoc wording
1 parent 000f664 commit 2b84b1a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/home/services/home.service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import mailer from '../../../lib/helpers/mailer/index.js';
1414
import HomeRepository from '../repositories/home.repository.js';
1515

1616
/**
17-
* @desc Check whether a config value is meaningfully set (non-empty string, not a DEVKIT placeholder).
17+
* @desc Check whether a config value is meaningfully set (non-empty, not a DEVKIT placeholder).
1818
* @param {*} value - Config value to check
19-
* @returns {boolean} true if value is a non-empty string and not a DEVKIT_NODE_ placeholder
19+
* @returns {boolean} true when value is a non-empty string and not a DEVKIT_NODE_ placeholder
2020
*/
2121
const isSet = (value) => !!(value && typeof value === 'string' && value.trim() !== '' && !value.startsWith('DEVKIT_NODE_'));
2222

0 commit comments

Comments
 (0)