Method in text · Searchable coil-stdlib

Searchable::starts_with

fn starts_with<P: Pattern>(T hay, P pat) -> bool
Import
use text::{Searchable};
Source: src/text.hy

Returns true when a match of pat starts at the beginning of hay.

Parameters#

NameType
hayT
patP

Returns#

bool

See also#

↑ ↓ navigate ↵ open