Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/lang/functional/curry.js

  • Provides:

    • dojox.lang.functional.curry
  • Requires:

    • dojox.lang.functional.lambda in common
  • dojox.lang.functional.curry

    • parameters:
      • f: (typeof Function|String|Array)
      • arity: (typeof Number)
    • returns
      Function
    • summary
      curries a function until the arity is satisfied, at
      which point it returns the calculated value.
    • type
      Function
  • dojox.lang.functional.arg

    • type
      Object
  • dojox.lang.functional.partial

    • parameters:
      • f: (typeof Function|String|Array)
    • returns
      Function
    • summary
      creates a function where some arguments are bound, and
      some arguments (marked as dojox.lang.functional.arg) are will be
      accepted by the final function in the order they are encountered.
    • description
      This method is used to produce partially bound
      functions. If you want to change the order of arguments, use
      dojox.lang.functional.mixer() or dojox.lang.functional.flip().
    • type
      Function
  • dojox.lang.functional.mixer

    • parameters:
      • f: (typeof Function|String|Array)
      • mix: (typeof Array)
    • returns
      Function
    • summary
      changes the order of arguments using an array of
      numbers mix --- i-th argument comes from mix[i]-th place
      of supplied arguments.
    • type
      Function
  • dojox.lang.functional.flip

    • parameters:
      • f: (typeof Function|String|Array)
    • returns
      Function
    • summary
      changes the order of arguments by reversing their
      order.
    • type
      Function
  • dojox.lang.functional

    • alias - dojox.lang.functional
  • Array

    • alias - Array.prototype
  • dojox.lang

    • type
      Object
  • dojox

    • type
      Object