Gets the sign of a number represented as a string, or bigint.
{string | bigint} The number in string or bigint format to be used for deciding the sign.
0 if num is zero, 1 if num is positive, -1 if num is negative.
Gets the sign of a number represented as a string, or bigint.