Function asHashLeaseWithSources
- asHashLeaseWithSources<
TType extends
WithSources<
DeepRestrictToStringKeys<
{ duration: number; schema: "network.xyo.hash.lease" },
>,
>,
>(
value: AnyNonPromise,
config?: TypeCheckConfig,
): undefined | TType Returns undefined | TType
- asHashLeaseWithSources<
TType extends
WithSources<
DeepRestrictToStringKeys<
{ duration: number; schema: "network.xyo.hash.lease" },
>,
>,
>(
value: AnyNonPromise,
assert: StringOrAlertFunction<
WithSources<
DeepRestrictToStringKeys<
{ duration: number; schema: "network.xyo.hash.lease" },
>,
>,
>,
config?: TypeCheckConfig,
): TType