napi-rs/crates/napi/src/bindgen_runtime/js_values/function.rs

10 lines
184 B
Rust
Raw Normal View History

use super::ValidateNapiValue;
pub use crate::JsFunction;
impl ValidateNapiValue for JsFunction {
fn type_of() -> Vec<crate::ValueType> {
vec![crate::ValueType::Function]
}
}