Skip to main content

new_char

Function new_char 

Source
pub fn new_char(character: char) -> K
Expand description

Constructor of q char object. Relabeling of kc.

ยงExample

use kdbplus::api::*;

#[no_mangle]
pub extern "C" fn create_char2(_: K) -> K{
  new_char('t')
}
q)heavy: `libapi_examples 2: (`create_char2; 1);
q)heavy[]
"t"