Type guard for objects with a string type property.
type
Many protocol messages use a type discriminator; this guard handles the initial structural check before further narrowing.
The value to check.
true if value is an object with a string type property.
true
value
Type guard for objects with a string
typeproperty.Many protocol messages use a
typediscriminator; this guard handles the initial structural check before further narrowing.