Files
matrix-quotes-bot/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.d.ts
unfunny dfe4cc537f init
2026-09-13 00:29:11 -04:00

14 lines
529 B
TypeScript

import { type Optional } from "matrix-events-sdk";
/**
* Determines if the given optional was provided a value.
* @param s - The optional to test.
* @returns True if the value is defined.
*/
export declare function isProvided<T>(s: Optional<T>): s is T;
/**
* Determines if the given optional string is a defined string.
* @param s - The input string.
* @returns True if the input is a defined string.
*/
export declare function isOptionalAString(s: Optional<string>): s is string;
//# sourceMappingURL=utilities.d.ts.map