Function is_direct_link
pub fn is_direct_link(value: &str) -> boolExpand description
Re-exports the media runtime helpers when the media feature is enabled.
§Examples
ⓘ
use pharos_native::media::*;§Related
crate::runtimefor runtime flows that consume media helpers. Checks whether text is a direct HTTP(S) link safe to expose as a link candidate.
§Parameters
value: Input consumed bycrate::is_direct_link.
§Returns
Returns true when the condition checked by crate::is_direct_link holds and false otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::is_direct_link.
§Examples
ⓘ
let _result = pharos_runtime_media::is_direct_link("value");§Related
- [
crate] for adjacent helpers that share the same runtime surface.