mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-23 09:41:33 +00:00
Added WeakSet has method
This commit is contained in:
@ -628,6 +628,12 @@ extern {
|
||||
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet
|
||||
#[wasm_bindgen(constructor)]
|
||||
pub fn new() -> WeakSet;
|
||||
|
||||
/// The has() method returns a boolean indicating whether an object exists in a WeakSet or not.
|
||||
///
|
||||
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/has
|
||||
#[wasm_bindgen(method)]
|
||||
pub fn has(this: &WeakSet, value: Object) -> bool;
|
||||
}
|
||||
|
||||
// JsString
|
||||
|
Reference in New Issue
Block a user