pyanno4rt.tools._apply

Elementwise function application.

Overview

Function

apply(function, elements)

Apply a function to each element of an iterable.

Functions

pyanno4rt.tools._apply.apply(function, elements)[source]

Apply a function to each element of an iterable.

Parameters:
  • function (function) – Function to be applied.

  • elements (iterable) – Iterable over which to loop.