platform-bible-utils
    Preparing search index...

    Function includes

    • This function mirrors the includes function from the JavaScript Standard String object. It operates on grapheme clusters instead of UTF-16 code units.

      Performs a case-sensitive search to determine if searchString is found in string.

      Parameters

      • string: string

        String to search through

      • searchString: string

        String to search for

      • Optionalposition: number

        Position within the string to start searching. Negative values clamp to 0. Default is 0

      Returns boolean

      True if the search string is found, false if it is not