IPRange overview
Added in v1.0.0
Table of contents
utils
IPRange
Signature
export declare const IPRange: t.BrandC<t.StringC, IPRangeBrand>
Added in v1.0.0
IPRange (type alias)
Signature
export type IPRange = t.Branded<string, IPRangeBrand>
Added in v1.0.0
IPRangeBrand (interface)
Signature
export interface IPRangeBrand {
readonly IPRange: unique symbol
}
Added in v1.0.0
IPv4Range
Signature
export declare const IPv4Range: t.BrandC<t.StringC, IPv4RangeBrand>
Added in v1.0.0
IPv4Range (type alias)
Signature
export type IPv4Range = t.Branded<string, IPv4RangeBrand>
Added in v1.0.0
IPv4RangeBrand (interface)
Signature
export interface IPv4RangeBrand {
readonly IPv4Range: unique symbol
}
Added in v1.0.0
IPv6Range
Signature
export declare const IPv6Range: t.BrandC<t.StringC, IPv6RangeBrand>
Added in v1.0.0
IPv6Range (type alias)
Signature
export type IPv6Range = t.Branded<string, IPv6RangeBrand>
Added in v1.0.0
IPv6RangeBrand (interface)
Signature
export interface IPv6RangeBrand {
readonly IPv6Range: unique symbol
}
Added in v1.0.0
ipRangeDecoder
Signature
export declare const ipRangeDecoder: <S extends string, B extends 'any' | '4' | '6' = 'any'>(
code?: B
) => D.Decoder<S, IPRangeBrand & S & t.Brand<BrandMap[B]>>
Added in v1.1.0