---
title: "iscclosure"
description: "Checks whether a value is a C closure."
---

```lua
iscclosure(value: any? = nil): boolean
```

---

## Aliases

None.

---

## Arguments

<ParamField body="value" type="any" default={"nil"}>
  The value used by this operation.
</ParamField>

---

## Returns

<ResponseField name="result" type="boolean">
  Whether the queried condition holds.
</ResponseField>

Returns false for non-functions, including nil or an omitted argument; it does not raise a function-type error.

---

## Example

```lua
print(iscclosure(tostring))
print(iscclosure(nil))
```
