Table Of Contents
Table Of Contents

Block.apply

Block.apply(fn)[source]

Applies fn recursively to every child block as well as self.

Parameters:fn (callable) – Function to be applied to each submodule, of form fn(block).
Returns:
Return type:this block