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

std::equal compares two objects for equality

See also

std_types::file_type a POSIX file type
std_types::file_type/std::hash returns an integer hash value for a file type