WordPress at a glance
function is not described

ParagonIE_Sodium_Core32_Curve25519::negative() public WP 1.0

{} It's a method of the class: ParagonIE_Sodium_Core32_Curve25519{}

No Hooks.

Return

Int. (1 = yes, 0 = no)

Usage

$result = ParagonIE_Sodium_Core32_Curve25519::negative( $char );
$char *(string int) (required)*

Code of ParagonIE_Sodium_Core32_Curve25519::negative() WP 5.7

<?php
public static function negative($char)
{
    if (is_int($char)) {
        return $char < 0 ? 1 : 0;
    }
    /** @var string $char */
    /** @var int $x */
    $x = self::chrToInt(self::substr($char, 0, 1));
    return (int) ($x >> 31);
}