entity(for:)
Gets the entity with the given identifier.
Declaration
@MainActor @preconcurrency func entity(for identifier: Self.Identifier) -> Entity?Parameters
- identifier:
The identifier.
Return Value
The entity with the corresponding identifier.
Gets the entity with the given identifier.
@MainActor @preconcurrency func entity(for identifier: Self.Identifier) -> Entity?The identifier.
The entity with the corresponding identifier.