Returns true if the function is non‐empty.

Synopsis

Declared in <folly/Function.h>

template<typename FunctionType>
bool
operator!=(
    Function<FunctionType> const& fn,
    std::nullptr_t nullPtr);

Return Value

True if fn holds a callable.

Parameters

Name

Description

fn

The function to test.

nullPtr

A null pointer constant.

Created with MrDocs