1 Type.isInterface = function Type$isInterface(type) {
5 var e = Function._validateParams(arguments, [
6 {name: "type", mayBeNull: true}
7 ]);
8 if (e) throw e;
9 if ((typeof(type) === 'undefined') || (type === null)) return false;
10 return !!type.__interface;
11 }