Files

14 lines
525 B
TypeScript
Raw Permalink Normal View History

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.
*/
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