2026-09-13 14:14:38 -04:00
|
|
|
import { Optional } from "matrix-events-sdk";
|
2026-09-12 23:57:45 -04:00
|
|
|
/**
|
|
|
|
|
* Determines if the given optional was provided a value.
|
|
|
|
|
* @param s - The optional to test.
|
|
|
|
|
* @returns True if the value is defined.
|
|
|
|
|
*/
|
2026-09-13 14:14:38 -04:00
|
|
|
export declare function isProvided<T>(s: Optional<T>): boolean;
|
2026-09-12 23:57:45 -04:00
|
|
|
/**
|
|
|
|
|
* 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
|