It might make sense to provide this as standard functionality: - Testing if one type is a subtype of another type. - Returning all supertypes of a given type.
This is especially useful if a type can significantly change the behavior of its subtypes and if there should ever be several ways of handling inheritance in ES. -- Dr. Axel Rauschmayer [email protected] home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

