mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 21:58:27 +01:00
Re-added is_def(){
This commit is contained in:
parent
cdaeb136d0
commit
b1c7e71294
@ -21,6 +21,14 @@
|
|||||||
function default(v,dflt=undef) = is_undef(v)? dflt : v;
|
function default(v,dflt=undef) = is_undef(v)? dflt : v;
|
||||||
|
|
||||||
|
|
||||||
|
// Function: is_def()
|
||||||
|
// Usage:
|
||||||
|
// is_def(v)
|
||||||
|
// Description:
|
||||||
|
// Returns true if `v` is not `undef`. False if `v==undef`.
|
||||||
|
function is_def(v) = !is_undef(v);
|
||||||
|
|
||||||
|
|
||||||
// Function: is_vector()
|
// Function: is_vector()
|
||||||
// Usage:
|
// Usage:
|
||||||
// is_vector(v)
|
// is_vector(v)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user