Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit413de2c

Browse files
authored
Improved task 2618
1 parentfba23f5 commit413de2c

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/g2601_2700/s2618_check_if_object_instance_of_class

1 file changed

+1
-1
lines changed

‎src/main/java/g2601_2700/s2618_check_if_object_instance_of_class/solution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// #Medium #2023_08_30_Time_82_ms_(99.55%)_Space_52.1_MB_(79.46%)
22

33
functioncheckIfInstanceOf(obj:any,classFunction:any):boolean{
4-
if(obj===null||obj===undefined||typeofclassFunction!=="function")returnfalse
4+
if(obj===null||obj===undefined||typeofclassFunction!=='function')returnfalse
55

66
letproto=Object.getPrototypeOf(obj)
77
while(proto!==null){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp