HH\Lib\Legacy_FIXME\optional_num_to_int_cast_for_switch

Do a modification on the switched value

namespace HH\Lib\Legacy_FIXME;

function optional_num_to_int_cast_for_switch(
  ?num $value,
): int;

This is in the case where the switched expr is an ?num

Parameters

  • ?num $value

Returns

  • int