Concept
Structural typing
Books
Journey Statusmastered Tags
A type system where Type compatibility is determined by structure, not name - any value with matching shape satisfies the type, regardless of declared class or origin.
A type system where Type compatibility is determined by structure, not name - any value with matching shape satisfies the type, regardless of declared class or origin.