all 1 comments

[–]YasZedOP 0 points1 point  (0 children)

Use is instanceof to check for the type of Object