• Filter weapons to only those currently held (gripped) by the actor.

    Type Parameters

    • W

    Parameters

    • weapons: readonly W[]

      All weapon items.

    • getHeldBy: (weapon: W) => readonly unknown[]

      Resolves the body parts holding the weapon.

    Returns W[]

    The subset of weapons with at least one holding part.