java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.math.Sgn

@BoxBIF @BoxMember(type=NUMERIC, name="sgn") public class Sgn extends BIF
  • Constructor Details

    • Sgn

      public Sgn()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Determine the sign of a number
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The result of the invocation