2022-03-06 00:19:51 +09:00
|
|
|
use super::ValidateNapiValue;
|
|
|
|
|
2021-11-12 18:22:57 +09:00
|
|
|
pub use crate::JsFunction;
|
2022-03-06 00:19:51 +09:00
|
|
|
|
|
|
|
impl ValidateNapiValue for JsFunction {
|
|
|
|
fn type_of() -> Vec<crate::ValueType> {
|
|
|
|
vec![crate::ValueType::Function]
|
|
|
|
}
|
|
|
|
}
|