我需要在q/kdb中编写一个函数,它接受一个变量v,如果v被定义则返回1b,如果不是则返回0b:
$ a:2 $ doesExist`a 1b $ doesExist`b 0b
任何想法都赞赏.
kdb
kdb ×1