platform
    Preparing search index...

    Function containsIgnoreCase

    • 대소문자 구분 없이 문자열 포함 여부 확인

      Parameters

      • text: string

        검색 대상 문자열

      • searchTerm: string

        검색할 문자열

      Returns boolean

      포함 여부

      containsIgnoreCase('Hello World', 'hello') // true