{"id":"operator--is-fa51fd","name":"is","owner":"yeho","package":"language.operators","kind":"operator","signature":"is","description":"Test whether a reference has the named type.","context":"A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.","parameters":[],"returns":"","members":[],"tags":["cpu","language","operator","type","yeho"],"updated":"2026-09-09","source":{"repository":"demonhunterlabs","path":"app/lib/yeho-language-reference.ts"},"status":"documented","notes":[],"examples":[{"id":"complete","title":"Complete program","description":"Use a checked class boundary before reading the pilot-specific callsign.","code":"class Actor { }\nclass Pilot extends Actor { text callsign = \"Nova\" }\nActor actor = Pilot()\nif actor is Pilot\n{\n    Pilot pilot = actor as Pilot\n    Console.Log(pilot.callsign)\n}\n","tags":["cpu","language"],"run":"cpu-oracle","expected":null,"verifyRun":false,"manifest":"manifestVersion = \"2\"\npackage = \"api.example.language__casts_type_checks\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","verification":"type checked","sha256":"6b0a2daa3a1e24043a67452f434dd92fb0372748e1da101d392decec78c66125","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=operator--is-fa51fd","json":"https://demonhunterlabs.com/reference/items/operator--is-fa51fd.json","markdown":"https://demonhunterlabs.com/reference/text/operator--is-fa51fd.md"}
