UNPKG

mlld

Version:

mlld: llm scripting language

19 lines (17 loc) 821 B
import { __name } from './chunk-NJQT543K.mjs'; // core/types/load-content.ts function isLoadContentResult(value) { return typeof value === "object" && value !== null && "content" in value && "filename" in value && "relative" in value && "absolute" in value; } __name(isLoadContentResult, "isLoadContentResult"); function isLoadContentResultURL(value) { return isLoadContentResult(value) && "url" in value && "domain" in value; } __name(isLoadContentResultURL, "isLoadContentResultURL"); function isLoadContentResultHTML(value) { return isLoadContentResult(value) && "html" in value; } __name(isLoadContentResultHTML, "isLoadContentResultHTML"); export { isLoadContentResult, isLoadContentResultHTML, isLoadContentResultURL }; //# sourceMappingURL=chunk-TZUIAYSF.mjs.map //# sourceMappingURL=chunk-TZUIAYSF.mjs.map