HH\Facts\is_final

True iff the given type cannot be inherited

namespace HH\Facts;

function is_final(
  classname<mixed> $type,
): bool;

Parameters

  • classname<mixed> $type

Returns

  • bool