Skip to content

Commit faa6fea

Browse files
Update concepts/type-checking/about.md
Co-authored-by: Derk-Jan Karrenbeld <derk-jan+github@karrenbeld.info>
1 parent 6f0f146 commit faa6fea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

concepts/type-checking/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ For [historical reasons][`typeof null` is `"object"`].
4646
## The `instanceof` operator
4747

4848
For checking the type of an object, you can use the `instanceof` operator.
49-
It returns a boolean depending on whether the second operand is included in the first operands' [prototype chain][prototype chain].
49+
It evaluates into a `boolean` depending on whether the second operand is included in the first operands' [prototype chain][prototype chain].
5050
To clarify, `instanceof` will return whether the first operand is an instance of second operand or one of its child classes.
5151
`instanceof` only works for compound data types, such as arrays and objects.
5252

0 commit comments

Comments
 (0)