Trait simd_json::prelude::derived::TypedContainerValue

source ·
pub trait TypedContainerValue {
    // Required methods
    fn is_array(&self) -> bool;
    fn is_object(&self) -> bool;
}
Expand description

Type checks for container values on a value

Required Methods§

source

fn is_array(&self) -> bool

returns true if the current value can be represented as an array

source

fn is_object(&self) -> bool

returns true if the current value can be represented as an object

Implementors§