Question whether a variable is type_function

type:function?($variable) : BOOL

$x = function(){}
type:function?($x)             #=> true
type:function?(function(){})   #=> true
type:function?('x')            #=> false
type:function?(2)              #=> false

Copyright ©2013-2022 SunSed®. All rights reserved.