equipment.Function.getPersonalToolById - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / equipment / getPersonalToolById
getPersonalToolById(
id):PersonalTool|null
Defined in: src/equipment/tools.ts:111
Look up a suit tool by its library id, case-insensitively.
string
Library id such as "energylink", matched case-insensitively after
trimming surrounding whitespace.
PersonalTool | null
The frozen tool record, or null when unknown.
If id is present and not a string. A nullish id is a miss,
answered like an unrecognised one.
import { getPersonalToolById } from '@elite-dangerous-almanac/core/equipment/tools';
getPersonalToolById('arc-cutter')?.suitFamilies; // -> ['utilitysuit']