Skip to main content

new_bool

Function new_bool 

Source
pub fn new_bool(boolean: I) -> K
Expand description

Constructor of q bool object. Relabeling of kb.

ยงExample

use kdbplus::api::*;

#[no_mangle]
pub extern "C" fn create_bool(_: K) -> K{
  new_bool(0)
}
q)no: `libapi_examples 2: (`create_bool; 1);
q)no[]
0b