In computer programming, duck typing is an application of the duck testâ"If it walks like a duck and it quacks like a duck, then it must be a duck"âto determine whether an object can be used for a particular purpose. With nominative typing, an object is of a given type if it is declared as such (or if a type's association with the object is inferred through mechanisms such as object inheritance).
{{#tags}}- {{label}}
{{/tags}}