---
title: "slotNamed(_:)"
framework: cryptotokenkit
role: symbol
role_heading: Instance Method
path: "cryptotokenkit/tksmartcardslotmanager/slotnamed(_:)"
---

# slotNamed(_:)

Returns the Smart Card slot with a given name.

## Declaration

```swift
func slotNamed(_ name: String) -> TKSmartCardSlot?
```

## Return Value

Return Value The slot with the specified name, or nil if no slot with that name exists.

## See Also

### Accessing Smart Card Slots

- [slotNames](cryptotokenkit/tksmartcardslotmanager/slotnames.md)
- [getSlot(withName:reply:)](cryptotokenkit/tksmartcardslotmanager/getslot(withname:reply:).md)
