footprintjs - v11.2.0
    Preparing search index...

    Function asImpl

    • Type-narrowing helper — cast a public DetachHandle to its implementation. Drivers (only) use this to call internal mutators.

      Throws if the handle isn't actually a HandleImpl — defends against consumers passing a hand-rolled object that satisfies the interface shape but lacks the mutators.

      Parameters

      Returns HandleImpl