Skip to main content

dynamic_business_open_for_slot

Function dynamic_business_open_for_slot 

pub fn dynamic_business_open_for_slot(
    root: &Value,
    business_id: i64,
    date_value: &str,
    time_value: &str,
    duration_minutes: i64,
) -> bool
Expand description

Returns whether a business has an availability row covering a requested slot.

§Parameters

§Returns

Returns true when the condition checked by crate::domain::dynamic_business_open_for_slot holds and false otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::domain::dynamic_business_open_for_slot.

§Examples

ⓘ
let _result = pharos_native::runtime::business::dynamic_business_open_for_slot(std::path::Path::new("."), todo!(), todo!(), todo!(), todo!());
  • [crate::domain] for adjacent helpers that share the same runtime surface.