- :logical
function?
checks if given value is of type :function
Parameters
function? value :any
Attributes
builtin | check if, internally, it's a built-in |
Returns
Examples
copyprint function? $[x][2*x] ; true print function? var 'print ; true print function? "print" ; false print function? 123 ; false
copyf: function [x][x+2] function? var'f ; => true function? var'print ; => true function?.builtin var'f ; => false function?.builtin var'print ; => true