mirror of
https://github.com/tonydamage/nux-env.git
synced 2025-12-11 13:24:28 +01:00
Moved is_function and runner.run to inc/
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
parent
135eabc57c
commit
8267bc2e12
4 changed files with 32 additions and 30 deletions
|
|
@ -54,3 +54,8 @@ function nux.include {
|
|||
local incfile="$1.inc.sh"
|
||||
source "$NUX_INC_DIR/$incfile"
|
||||
}
|
||||
|
||||
function nux.check.function {
|
||||
declare -f "$1" &>/dev/null && return 0
|
||||
return 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue