---
title: "Value"
description: "Value of Derafu Support, checks on a value that was received"
type: "docs"
category: "doc"
tags: []
authors: [Anonymous]
date: "2026-10-19"
last_update: "2026-10-19"
time_minutes: 1
draft: false
unlisted: false
url: "https://www.derafu.dev/docs/core/support/value"
---

# Value

`Value` checks a value that was received, as from a form or a request.

## isBlank

`Value::isBlank($value)` tells if nothing was received: it is `true` for `null`, `''` and `[]`, and `false` for any other value.

```php
use Derafu\Support\Value;

Value::isBlank(null);      // true
Value::isBlank('');        // true
Value::isBlank([]);        // true

Value::isBlank(0);         // false
Value::isBlank('0');       // false
Value::isBlank(false);     // false
Value::isBlank('  ');      // false
```

It is not the `empty()` of PHP: `0`, `'0'` and `false` are values, and a text of spaces has characters.



---
Last updated on 19/10/2026

