public static function assertScalar($actual, string $message = '')
    {
        self::assertTypeOfScalar($actual, $message, 'assertScalar', new ScalarConstraint(ScalarConstraint::TYPE_SCALAR));
    }
public static function assertScalar($actual, string $message = '')
    {
        self::assertTypeOfScalar($actual, $message, 'assertScalar', new ScalarConstraint(ScalarConstraint::TYPE_SCALAR));
    }
public static function assertScalar ( $ actual , string $ message = '' ) { self :: assertTypeOfScalar ( $ actual , $ message , 'assertScalar' , new ScalarConstraint ( ScalarConstraint :: TYPE_SCALAR ) ) ; }
Assert value is a scalar.

@param mixed  $actual
@param string $message
Assert value is a scalar .