Skip to content

Commit 88d8380

Browse files
LibJS: Add FunctionObject::fast_is<NativeFunction>()
1 parent b549d51 commit 88d8380

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Libraries/LibJS/Runtime/NativeFunction.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,7 @@ class JS_API NativeFunction : public FunctionObject {
7272
template<>
7373
inline bool Object::fast_is<NativeFunction>() const { return is_native_function(); }
7474

75+
template<>
76+
inline bool FunctionObject::fast_is<NativeFunction>() const { return is_native_function(); }
77+
7578
}

0 commit comments

Comments
 (0)