# CallerIdentity.current(environment:)

- **Module:** CallerIdentity
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmuxMCP/Caller.swift#L22
- **Page:** https://libtmux.org/reference/swift/calleridentity-current(environment-)/

```
CallerIdentity.current(environment:)(environment: [String : String]) -> CallerIdentity?
```

Reads the surrounding tmux, or `nil` when there is none.
