For the complete documentation index, see llms.txt. This page is also available as Markdown.

OccupantRoles

The occupant roles for which an aggregated safety score is being requested.

OccupantRoles API

all()

Returns an instance of OccupantRoles that represents all occupant roles.

OccupantRoles all();

some()

Returns an instance of OccupantRoles that represents a subset of occupant roles.

OccupantRoles some(OccupantRole... roles);
Parameters

roles

The occupant roles for which an aggregated safety score is being requested. See OccupantRole.

Last updated