← All docs

is_link()

Tells whether the filename is a symbolic link.

function is_link(string $filename): bool

Tells whether the filename is a symbolic link.

Parameters:

  • $filename (string)

Returns: bool

Availability

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

Internals

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