HomeManualTopicsTypesSymbols
std_types::file_type/std::equal
compares two file types for equality
Parameters
- left
- a file type
- right
- a file type
Result
- success
- true if the two file types are equal
Example
opendir! $dir "/bin"
loop:
readdir! $entry dir
if
entry.is_an_error
break
:
if
type_of(entry) == SYMBOLIC_LINK: # check file type
println! name_of(entry)
next!
next
Output
texosquery
lzip-compressor
a2ping
...
Topic
POSIX
Implements
See also