MCPcopy Create free account
hub / github.com/ElementsProject/lightning / is_i64_arr

Method is_i64_arr

plugins/src/options.rs:563–565  ·  view source on GitHub ↗

Returns true if the `Value` is a Vec . Returns false otherwise. For any Value on which `is_i64_arr` returns true, `as_i64_arr` is guaranteed to return the Vec value.

(&self)

Source from the content-addressed store, hash-verified

561 /// For any Value on which `is_i64_arr` returns true, `as_i64_arr` is
562 /// guaranteed to return the Vec<i64> value.
563 pub fn is_i64_arr(&self) -> bool {
564 self.as_i64_arr().is_some()
565 }
566
567 /// If the `Value` is a Vec<i64>, returns the associated Vec<i64>.
568 /// Returns None otherwise.

Callers

nothing calls this directly

Calls 1

as_i64_arrMethod · 0.80

Tested by

no test coverage detected