ygleam/y_map

Functions

pub fn clone(y_map: YMap) -> YMap
pub fn delete(y_map: YMap, key: String) -> YMap
pub fn doc(y_map: YMap) -> Option(YDoc)
pub fn entries(y_map: YMap) -> Iterator(#(String, YValue))
pub fn for_each(
  y_map: YMap,
  cb: fn(YValue, String, YMap) -> Nil,
) -> YMap
pub fn get(y_map: YMap, key: String) -> YValue
pub fn get_dynamic(y_map: YMap, key: String) -> Dynamic
pub fn has(y_map: YMap, key: String) -> Bool
pub fn keys(y_map: YMap) -> Iterator(String)
pub fn new() -> YMap
pub fn observe(
  y_map: YMap,
  cb: fn(
    YMapEvent,
    List(#(String, String, Option(YValue))),
    Transaction,
  ) -> Nil,
) -> fn() -> Nil
pub fn observe_deep(
  y_map: YMap,
  cb: fn(List(AnyYEvent), Transaction) -> Nil,
) -> fn() -> Nil
pub fn parent(y_map: YMap) -> Option(YType)
pub fn set(y_map: YMap, key: String, value: YValue) -> YMap
pub fn set_dynamic(
  y_map: YMap,
  key: String,
  value: Dynamic,
) -> YMap
pub fn size(y_map: YMap) -> Int
pub fn to_json(y_map: YMap) -> BaseType
pub fn values(y_map: YMap) -> Iterator(YValue)
Search Document