MCPcopy Create free account
hub / github.com/Effect-TS/effect / isSecurity

Function isSecurity

packages/effect/src/unstable/httpapi/HttpApiMiddleware.ts:44–44  ·  view source on GitHub ↗
(u: AnyService)

Source from the content-addressed store, hash-verified

42 * @since 4.0.0
43 */
44export const isSecurity = (u: AnyService): u is AnyServiceSecurity => hasProperty(u, SecurityTypeId)
45
46type ErrorConstraint = Schema.Top | ReadonlyArray<Schema.Top>
47

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected