7 lines
108 B
Rust
7 lines
108 B
Rust
|
use napi::bindgen_prelude::*;
|
||
|
|
||
|
#[napi]
|
||
|
fn date_to_number(input: Date) -> Result<f64> {
|
||
|
input.value_of()
|
||
|
}
|