Tests whether this object has the specified property as a direct property.
Tests whether this object has the specified property as a direct property.
Unlike js.Object.hasProperty, this method does not check down the object's prototype chain.
MDN
Tests whether this object is in the prototype chain of another object.
Tests whether this object is in the prototype chain of another object.
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain. If the object does not have the specified property, this method returns false.
MDN
(typeError: StringAdd).self
(typeError: StringFormat).self
(typeError: ArrowAssoc[TypeError]).x
(Since version 2.10.0) Use leftOfArrow
instead
(typeError: Ensuring[TypeError]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Represents an error when a value is not of the expected type.
A TypeError is thrown when an operand or argument passed to a function is incompatible with the type expected by that operator or function.
MDN