brainpy.tools.codes.is_lambda_function#

brainpy.tools.codes.is_lambda_function(func)[source]#

Check whether the function is a lambda function. Comes from https://stackoverflow.com/questions/23852423/how-to-check-that-variable-is-a-lambda-function

Parameters

func (callable function) – The function.

Returns

True of False.

Return type

bool