Skip to main content

require_weak_brand

Function require_weak_brand 

Source
fn require_weak_brand(
    it: &mut Interp,
    this: &Value,
    marker: &str,
    name: &str,
) -> Result<(), Value>
Expand description

WeakMap/WeakSet のメソッドの受け手の検査(内部スロット相当の _e と、種類を示す自前メソッド marker)。