From 9e35cdeacae867b512a0c96b08d7aeeae2e47226 Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 29 Oct 2024 17:03:10 +0100 Subject: [PATCH] Removed String.startsWith FABLE_COMPILER condition --- src/FSharpPlus/Extensions/String.fs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/FSharpPlus/Extensions/String.fs b/src/FSharpPlus/Extensions/String.fs index 9fbce7015..270711026 100644 --- a/src/FSharpPlus/Extensions/String.fs +++ b/src/FSharpPlus/Extensions/String.fs @@ -42,15 +42,12 @@ module String = source.Contains subString - #if !FABLE_COMPILER - /// Does the source string start with the given subString? -- function wrapper for String.StartsWith method using InvariantCulture. let startsWith (subString: string) (source: string) = raiseIfNull (nameof subString) subString raiseIfNull (nameof source) source source.StartsWith (subString, false, CultureInfo.InvariantCulture) - #endif /// Does the source string end with the given subString? -- function wrapper for String.EndsWith method using InvariantCulture. let endsWith subString (source: string) =