Files

17 lines
392 B
JavaScript

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
function formatName(first, last) {
return `${first} ${last}`;
}
function isEmpty(value) {
return value === null || value === undefined || value === '';
}
module.exports = {formatName, isEmpty};