We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4429d88 commit 767d05dCopy full SHA for 767d05d
Sources/JavaScriptKit/FundamentalObjects/JSObject.swift
@@ -69,7 +69,7 @@ public class JSObject: Equatable {
69
set { setJSValue(this: self, index: Int32(index), value: newValue) }
70
}
71
72
- /// Return `true` if this value is an instance of the passed `constructor` function.
+ /// Return `true` if this value is an instance of the passed `constructor` function.
73
/// - Parameter constructor: The constructor function to check.
74
/// - Returns: The result of `instanceof` in the JavaScript environment.
75
public func isInstanceOf(_ constructor: JSFunction) -> Bool {
0 commit comments