mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
Make signal.abort() from native code fast (#13064)
This commit is contained in:
@@ -155,8 +155,8 @@ pub inline fn containsComptime(self: string, comptime str: string) bool {
|
||||
}
|
||||
pub const includes = contains;
|
||||
|
||||
pub fn inMapCaseInsensitive(self: string, comptime ComptimeStringMap: anytype) ?ComptimeStringMap.Value {
|
||||
return bun.String.static(self).inMapCaseInsensitive(ComptimeStringMap);
|
||||
pub fn inMapCaseInsensitive(self: []const u8, comptime ComptimeStringMap: anytype) ?ComptimeStringMap.Value {
|
||||
return bun.String.ascii(self).inMapCaseInsensitive(ComptimeStringMap);
|
||||
}
|
||||
|
||||
pub inline fn containsAny(in: anytype, target: string) bool {
|
||||
|
||||
Reference in New Issue
Block a user