def key

bendvy-ecs-core@0.1.0.3 · ordinary_declaration.bend:14

import bendvy-ecs-core@0.1.0.3/ordinary_declaration.bend as OrdinaryDeclaration
import Base

14# Return the authored component key without accessing any world or payload.
15def key(~S:Data,~P:Type,declaration:Declaration<S,P>) -> String:
16  match declaration:
17    case Declaration{key}:key

Uses (2)

Used by (17)