← All docs

is_writable()

Tells whether the filename is writable.

is_writable()

function is_writable(string $filename): bool

Tells whether the filename is writable.

Parameters:

  • $filename (string)

Returns: bool

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how is_writable is implemented in the compiler, see the internals page.