isValidSymbolType

fnbool isValidSymbolType(SymbolType type) pure nothrow @nogc @safe

Check if a symbol type is valid.

This checks whether the value lies within the ranges the ELF ABI reserves for types — standard (0..6), OS-specific (10..12), and processor-specific (13..15) — not whether this implementation has a named member for it.

Parameters

typeSymbol type to check.

Returns

true if the type is a valid value.