Macro serde_json_lodash::first[][src]

macro_rules! first {
    ($d($d rest:tt)*) => { ... };
}

Same as head!. Description can be found in lodash first

More examples:

assert_eq!(first!(), json!(null));
assert_eq!(first!(json!("東京")), json!("東"));