feat: complete Ancestor quote bot with production-ready Docker support
This commit is contained in:
11
node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.js
generated
vendored
11
node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.js
generated
vendored
@@ -1,3 +1,10 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.isOptionalAString = isOptionalAString;
|
||||
exports.isProvided = isProvided;
|
||||
/*
|
||||
Copyright 2021 - 2023 The Matrix.org Foundation C.I.C.
|
||||
|
||||
@@ -19,7 +26,7 @@ limitations under the License.
|
||||
* @param s - The optional to test.
|
||||
* @returns True if the value is defined.
|
||||
*/
|
||||
export function isProvided(s) {
|
||||
function isProvided(s) {
|
||||
return s !== null && s !== undefined;
|
||||
}
|
||||
|
||||
@@ -28,7 +35,7 @@ export function isProvided(s) {
|
||||
* @param s - The input string.
|
||||
* @returns True if the input is a defined string.
|
||||
*/
|
||||
export function isOptionalAString(s) {
|
||||
function isOptionalAString(s) {
|
||||
return isProvided(s) && typeof s === "string";
|
||||
}
|
||||
//# sourceMappingURL=utilities.js.map
|
||||
Reference in New Issue
Block a user