/** * Type guard to assert that an UntypedNode instance is an UntypedBoolean. * @param node The UntypedNode to check. * @returns boolean indicating if the node is an UntypedBoolean. */ export function isUntypedBoolean(node) { const proposedNode = node; return proposedNode && typeof proposedNode.value === "boolean"; } /** * Factory to create an UntypedBoolean from a boolean. * @param value The boolean value to create from. * @returns The created UntypedBoolean. */ export function createUntypedBoolean(value) { return { value, getValue: () => value, }; } //# sourceMappingURL=untypedBoolean.js.map