ENGLISH·COURSE API
    Preparing search index...

    Module

    domain/entities/url-or-path/url-or-path

    Functions

    urlOrRelativePath

    A string that is either a fully-qualified absolute URL or a site-relative path beginning with /. Used for Resource.url, VideoLesson.source, and VideoLesson.poster — v1 ships static assets under /public (see design.md §D5, §D9) so relative paths are the natural form. The boundary still rejects garbage (empty strings, schemes without a host, paths without a leading /).

    isAbsoluteHttpUrl

    Whether a string is a fully-qualified http: or https: URL.