{"id":"input.text--CompositionText","name":"CompositionText","owner":"yeho","package":"input.text","kind":"function","signature":"external CompositionText() returns text","description":"Composition text.","context":"Represent committed text and composition separately from physical keys.","parameters":[],"returns":"text","members":[],"tags":["cpu","function","input","input.text","source-example","text","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/input/text/text.yh","line":24,"sha256":"bed4ea3481abc403c432175b7aabf404ee66ddcf98fc72819ed6fbc3071fb4e4"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use CompositionText","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using input.text\n\n// Represent committed text and composition separately from physical keys.\ntext result = CompositionText()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.input_text__compositiontext\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"dd1e8c6e5fb970752304c365f88907dbee57ce9fdedf055fb84abe6b5ff8a8f7","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=input.text--CompositionText","json":"https://demonhunterlabs.com/reference/items/input.text--CompositionText.json","markdown":"https://demonhunterlabs.com/reference/text/input.text--CompositionText.md"}
