split3WaySign MethodStatic

Examine the value (particularly sign) of x.

  • If x is negative, return outNegative.
  • If x is true zero, return outZero
  • If x is positive, return outPositive

split3WaySign(x: number, outNegative: number, outZero: number, outPositive: number): number

Parameter Type Description
x number  
outNegative number  
outZero number  
outPositive number  

Returns - number

Defined in

Last Updated: 13 June, 2024