Function Commandr_fs->_is_dir
Definitions
sources/commandr_fs.php
- Is it a directory?.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $dir | ?array | No | No | Null | N/A | N/A | Path to check (null: current dir is used) |
Returns
- Directory?
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Is it a directory?.
*
* @param ?array $dir Path to check (null: current dir is used)
* @return boolean Directory?
*/
public function _is_dir(?array $dir = null) : bool
* Is it a directory?.
*
* @param ?array $dir Path to check (null: current dir is used)
* @return boolean Directory?
*/
public function _is_dir(?array $dir = null) : bool

