Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 349 Bytes

function_exists.sh.md

File metadata and controls

17 lines (13 loc) · 349 Bytes

function_exists

function_exists -- Returns true iff the given function has been defined.

Checks the list of defined functions, both built-in (internal) and user-defined, for function_name.

Usage

// 1. Command form.
bool sub::function_exists(string function_name)

Examples

EXPECT_TRUE sub::function_exists func::array