---
name: "function::is_return"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::is_return"
---

# function::is\_return(3stap)

Whether the current probe context is a return probe

## NAME

function::is\_return - Whether the current probe context is a return probe

## SYNOPSIS

```
    is_return:long()
```

## ARGUMENTS

None

## DESCRIPTION

Returns 1 if the current probe context is a return probe, returns 0 otherwise.

## SEE ALSO0

[*tapset::context*(3stap)](/tapset::context/3stap.md)
