split3WaySign MethodStatic

Examine the 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: 21 November, 2024