Asserts at compile time that two types are mutually assignable.
Checks assignability in both directions, not exact type identity. Structurally
compatible types can pass even if they differ in readonly or optional members.
Performs no runtime validation.
Asserts at compile time that two types are mutually assignable.
Checks assignability in both directions, not exact type identity. Structurally compatible types can pass even if they differ in readonly or optional members. Performs no runtime validation.